JavaScript Snippets

The JavaScript snippet collection contains a wide variety of ES6 helper functions. It includes helpers for dealing with primitives, arrays and objects, as well as algorithms, DOM manipulation functions and Node.js utilities.

  • isUndefined

    JavaScript, Type

    Checks if the specified value is undefined.

  • nthRoot

    JavaScript, Math

    Calculates the nth root of a given number.

  • radsToDegrees

    JavaScript, Math

    Converts an angle from radians to degrees.

  • toSafeInteger

    JavaScript, Math

    Converts a value to a safe integer.