30秒学会 JavaScript 片段 – UUIDGeneratorNode
Generates a UUID in Node.JS. Use crypto API to generate a UUID, compliant with RFC4122 version 4.
Generates a UUID in Node.JS. Use crypto API to generate a UUID, compliant with RFC4122 version 4.
Returns the least common multiple of two or more numbers. Use the greatest common divisor (GCD) form...
Returns a list of elements that exist in both arrays, after applying the provided function to each a...
Takes any number of iterable objects or objects with a length property and returns the longest one. ...
Checks if a string is an anagram of another string (case-insensitive, ignores spaces, punctuation an...
Decapitalizes the first letter of a string. Use array destructuring and String.toLowerCase() to deca...
Returns the symmetric difference between two lists, without filtering out duplicate values. Use Iter...
Returns a new slice with all elements that pass the test implemented by the provided function. Imple...
Creates a hash for a value using the SHA-256 algorithm. Returns a promise. Use crypto API to create ...
Capitalizes the first letter of a string. Use array destructuring and String.prototype.toUpperCase()...