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.
Checks if the given number is a power of 2.
2
JavaScript, Math · Oct 20, 2020
Calculates the nth root of a given number.
JavaScript, Math · Jan 6, 2021
Converts a value to a safe integer.
JavaScript, Math · Oct 22, 2020