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.
JavaScript, Array
Initializes and fills an array with the specified values.
JavaScript, Array
Returns the head of an array.
JavaScript, Array
Returns every element that exists in any of the two arrays at least once.