All code snippets. | Onur Boz

  1. JavaScript
    Map a number in one range to a number in another.

    Map a number in one range to a number in another.
  2. JavaScript
    Returns whether browser supports animation using CSS transitions.

    Returns whether browser supports animation using CSS transitions.
  3. JavaScript
    Ensures that the given function can only be called a single time.

    Ensures that the given function can only be called a single time.
  4. JavaScript
    Randomly shuffle an array.

    Randomly shuffle an array.