# JavaScript snippets

> Small JavaScript functions for arrays, objects, strings, dates and the browser DOM, each with a short explanation and an example call.

Canonical: https://www.wiki.jodisand.me/snippets/javascript/
Reviewed: 2026-09-24
Related: [TypeScript](https://www.wiki.jodisand.me/typescript/index.md), [Testing](https://www.wiki.jodisand.me/testing/index.md)


Short third-party examples with no input validation or error handling. Browser snippets assume a DOM and do not run in Node.js. Check whether the language now has a built-in (`Array.prototype.at`, `structuredClone`, `Object.groupBy`) before copying one. See [TypeScript](https://www.wiki.jodisand.me/typescript/) for typed equivalents.


## Pages

- [accumulate](https://www.wiki.jodisand.me/snippets/javascript/accumulate/index.md): Creates an array of partial sums.
- [addClass](https://www.wiki.jodisand.me/snippets/javascript/addclass/index.md): Adds a class to an HTML element.
- [addDaysToDate](https://www.wiki.jodisand.me/snippets/javascript/adddaystodate/index.md): Calculates the date of n days from the given date, returning its string representation.
- [addEventListenerAll](https://www.wiki.jodisand.me/snippets/javascript/addeventlistenerall/index.md): Attaches an event listener to all the provided targets.
- [addMinutesToDate](https://www.wiki.jodisand.me/snippets/javascript/addminutestodate/index.md): Calculates the date of n minutes from the given date, returning its string representation.
- [addMultipleListeners](https://www.wiki.jodisand.me/snippets/javascript/addmultipleevents/index.md): Adds multiple event listeners with the same handler to an element.
- [addStyles](https://www.wiki.jodisand.me/snippets/javascript/addstyles/index.md): Adds the provided styles to the given element.
- [addWeekDays](https://www.wiki.jodisand.me/snippets/javascript/addweekdays/index.md): Calculates the date after adding the given number of business days.
- [all](https://www.wiki.jodisand.me/snippets/javascript/all/index.md): Checks if the provided predicate function returns true for all elements in a collection.
- [allEqual](https://www.wiki.jodisand.me/snippets/javascript/allequal/index.md): Checks if all elements in an array are equal.
- [allEqualBy](https://www.wiki.jodisand.me/snippets/javascript/allequalby/index.md): Checks if all elements in an array are equal, based on the provided mapping function.
- [allUnique](https://www.wiki.jodisand.me/snippets/javascript/allunique/index.md): Checks if all elements in an array are unique.
- [allUniqueBy](https://www.wiki.jodisand.me/snippets/javascript/alluniqueby/index.md): Checks if all elements in an array are unique, based on the provided mapping function.
- [and](https://www.wiki.jodisand.me/snippets/javascript/and/index.md): Checks if both arguments are true.
- [any](https://www.wiki.jodisand.me/snippets/javascript/any/index.md): Checks if the provided predicate function returns true for at least one element in a collection.
- [aperture](https://www.wiki.jodisand.me/snippets/javascript/aperture/index.md): Creates an array of n-tuples of consecutive elements.
- [approximatelyEqual](https://www.wiki.jodisand.me/snippets/javascript/approximatelyequal/index.md): Checks if two numbers are approximately equal to each other.
- [arithmeticProgression](https://www.wiki.jodisand.me/snippets/javascript/arithmeticprogression/index.md): Creates an array of numbers in the arithmetic progression, starting with the given positive integer and up to the specified limit.
- [arrayToCSV](https://www.wiki.jodisand.me/snippets/javascript/arraytocsv/index.md): Converts a 2D array to a comma-separated values (CSV) string.
- [arrayToHTMLList](https://www.wiki.jodisand.me/snippets/javascript/arraytohtmllist/index.md): Converts the given array elements into <li> tags and appends them to the list of the given id.
- [ary](https://www.wiki.jodisand.me/snippets/javascript/ary/index.md): Creates a function that accepts up to n arguments, ignoring any additional arguments.
- [assertValidKeys](https://www.wiki.jodisand.me/snippets/javascript/assertvalidkeys/index.md): Validates all keys in an object match the given keys.
- [atob](https://www.wiki.jodisand.me/snippets/javascript/atob/index.md): Decodes a string of data which has been encoded using base-64 encoding.
- [attempt](https://www.wiki.jodisand.me/snippets/javascript/attempt/index.md): Attempts to invoke a function with the provided arguments, returning either the result or the caught error object.
- [average](https://www.wiki.jodisand.me/snippets/javascript/average/index.md): Calculates the average of two or more numbers.
- [averageBy](https://www.wiki.jodisand.me/snippets/javascript/averageby/index.md): Calculates the average of an array, after mapping each element to a value using the provided function.
- [bifurcate](https://www.wiki.jodisand.me/snippets/javascript/bifurcate/index.md): Splits values into two groups, based on the result of the given filter array.
- [bifurcateBy](https://www.wiki.jodisand.me/snippets/javascript/bifurcateby/index.md): Splits values into two groups, based on the result of the given filtering function.
- [binary](https://www.wiki.jodisand.me/snippets/javascript/binary/index.md): Creates a function that accepts up to two arguments, ignoring any additional arguments.
- [binarySearch](https://www.wiki.jodisand.me/snippets/javascript/binarysearch/index.md): Finds the index of a given element in a sorted array using the binary search algorithm.
- [bind](https://www.wiki.jodisand.me/snippets/javascript/bind/index.md): Creates a function that invokes fn with a given context, optionally prepending any additional supplied parameters to the arguments.
- [bindAll](https://www.wiki.jodisand.me/snippets/javascript/bindall/index.md): Binds methods of an object to the object itself, overwriting the existing method.
- [bindKey](https://www.wiki.jodisand.me/snippets/javascript/bindkey/index.md): Creates a function that invokes the method at a given key of an object, optionally prepending any additional supplied parameters to the arguments.
- [binomialCoefficient](https://www.wiki.jodisand.me/snippets/javascript/binomialcoefficient/index.md): Calculates the number of ways to choose k items from n items without repetition and without order.
- [both](https://www.wiki.jodisand.me/snippets/javascript/both/index.md): Checks if both of the given functions return true for a given set of arguments.
- [bottomVisible](https://www.wiki.jodisand.me/snippets/javascript/bottomvisible/index.md): Checks if the bottom of the page is visible.
- [btoa](https://www.wiki.jodisand.me/snippets/javascript/btoa/index.md): Creates a base-64 encoded ASCII string from a String object in which each character in the string is treated as a byte of binary data.
- [bubbleSort](https://www.wiki.jodisand.me/snippets/javascript/bubblesort/index.md): Sorts an array of numbers, using the bubble sort algorithm.
- [bucketSort](https://www.wiki.jodisand.me/snippets/javascript/bucketsort/index.md): Sorts an array of numbers, using the bucket sort algorithm.
- [byteSize](https://www.wiki.jodisand.me/snippets/javascript/bytesize/index.md): Returns the length of a string in bytes.
- [caesarCipher](https://www.wiki.jodisand.me/snippets/javascript/caesarcipher/index.md): Encrypts or decrypts a given string using the Caesar cipher.
- [call](https://www.wiki.jodisand.me/snippets/javascript/call/index.md): Given a key and a set of arguments, call them when given a context.
- [capitalize](https://www.wiki.jodisand.me/snippets/javascript/capitalize/index.md): Capitalizes the first letter of a string.
- [capitalizeEveryWord](https://www.wiki.jodisand.me/snippets/javascript/capitalizeeveryword/index.md): Capitalizes the first letter of every word in a string.
- [cartesianProduct](https://www.wiki.jodisand.me/snippets/javascript/cartesianproduct/index.md): Calculates the cartesian product of two arrays.
- [castArray](https://www.wiki.jodisand.me/snippets/javascript/castarray/index.md): Casts the provided value as an array if it’s not one.
- [celsiusToFahrenheit](https://www.wiki.jodisand.me/snippets/javascript/celsiustofahrenheit/index.md): Converts Celsius to Fahrenheit.
- [chainAsync](https://www.wiki.jodisand.me/snippets/javascript/chainasync/index.md): Chains asynchronous functions.
- [changeLightness](https://www.wiki.jodisand.me/snippets/javascript/changelightness/index.md): Changes the lightness value of an hsl() color string.
- [checkProp](https://www.wiki.jodisand.me/snippets/javascript/checkprop/index.md): Creates a function that will invoke a predicate function for the specified property on a given object.
- [chunk](https://www.wiki.jodisand.me/snippets/javascript/chunk/index.md): Chunks an array into smaller arrays of a specified size.
- [chunkify](https://www.wiki.jodisand.me/snippets/javascript/chunkify/index.md): Chunks an iterable into smaller arrays of a specified size.
- [chunkIntoN](https://www.wiki.jodisand.me/snippets/javascript/chunkinton/index.md): Chunks an array into n smaller arrays.
- [clampNumber](https://www.wiki.jodisand.me/snippets/javascript/clampnumber/index.md): Clamps num within the inclusive range specified by the boundary values a and b.
- [cloneRegExp](https://www.wiki.jodisand.me/snippets/javascript/cloneregexp/index.md): Clones a regular expression.
- [coalesce](https://www.wiki.jodisand.me/snippets/javascript/coalesce/index.md): Returns the first defined, non-null argument.
- [coalesceFactory](https://www.wiki.jodisand.me/snippets/javascript/coalescefactory/index.md): Customizes a coalesce function that returns the first argument which is true based on the given validator.
- [collectInto](https://www.wiki.jodisand.me/snippets/javascript/collectinto/index.md): Changes a function that accepts an array into a variadic function.
- [colorize](https://www.wiki.jodisand.me/snippets/javascript/colorize/index.md): Adds special characters to text to print in color in the console (combined with console.log()).
- [combine](https://www.wiki.jodisand.me/snippets/javascript/combine/index.md): Combines two arrays of objects, using the specified key to match objects.
- [compact](https://www.wiki.jodisand.me/snippets/javascript/compact/index.md): Removes falsy values from an array.
- [compactObject](https://www.wiki.jodisand.me/snippets/javascript/compactobject/index.md): Deeply removes all falsy values from an object or array.
- [compactWhitespace](https://www.wiki.jodisand.me/snippets/javascript/compactwhitespace/index.md): Compacts whitespaces in a string.
- [complement](https://www.wiki.jodisand.me/snippets/javascript/complement/index.md): Returns a function that is the logical complement of the given function, fn.
- [compose](https://www.wiki.jodisand.me/snippets/javascript/compose/index.md): Performs right-to-left function composition.
- [composeRight](https://www.wiki.jodisand.me/snippets/javascript/composeright/index.md): Performs left-to-right function composition.
- [containsWhitespace](https://www.wiki.jodisand.me/snippets/javascript/containswhitespace/index.md): Checks if the given string contains any whitespace characters.
- [converge](https://www.wiki.jodisand.me/snippets/javascript/converge/index.md): Accepts a converging function and a list of branching functions and returns a function that applies each branching function to the arguments and the results of the branching functions are passed as arguments to the converging function.
- [copySign](https://www.wiki.jodisand.me/snippets/javascript/copysign/index.md): Returns the absolute value of the first number, but the sign of the second.
- [copyToClipboard](https://www.wiki.jodisand.me/snippets/javascript/copytoclipboard/index.md): Copies a string to the clipboard. Only works as a result of user action (i.e. inside a click event listener).
- [countBy](https://www.wiki.jodisand.me/snippets/javascript/countby/index.md): Groups the elements of an array based on the given function and returns the count of elements in each group.
- [counter](https://www.wiki.jodisand.me/snippets/javascript/counter/index.md): Creates a counter with the specified range, step and duration for the specified selector.
- [countOccurrences](https://www.wiki.jodisand.me/snippets/javascript/countoccurrences/index.md): Counts the occurrences of a value in an array.
- [countSubstrings](https://www.wiki.jodisand.me/snippets/javascript/countsubstrings/index.md): Counts the occurrences of a substring in a given string.
- [countWeekDaysBetween](https://www.wiki.jodisand.me/snippets/javascript/countweekdaysbetween/index.md): Counts the weekdays between two dates.
- [createDirIfNotExists](https://www.wiki.jodisand.me/snippets/javascript/createdirifnotexists/index.md): Creates a directory, if it does not exist.
- [createElement](https://www.wiki.jodisand.me/snippets/javascript/createelement/index.md): Creates an element from a string (without appending it to the document). If the given string contains multiple elements, only the first one will be returned.
- [createEventHub](https://www.wiki.jodisand.me/snippets/javascript/createeventhub/index.md): Creates a pub/sub (publish–subscribe) event hub with emit, on, and off methods.
- [CSVToArray](https://www.wiki.jodisand.me/snippets/javascript/csvtoarray/index.md): Converts a comma-separated values (CSV) string to a 2D array.
- [CSVToJSON](https://www.wiki.jodisand.me/snippets/javascript/csvtojson/index.md): Converts a comma-separated values (CSV) string to a 2D array of objects. The first row of the string is used as the title row.
- [currentURL](https://www.wiki.jodisand.me/snippets/javascript/currenturl/index.md): Returns the current URL.
- [curry](https://www.wiki.jodisand.me/snippets/javascript/curry/index.md): Curries a function.
- [cycleGenerator](https://www.wiki.jodisand.me/snippets/javascript/cyclegenerator/index.md): Creates a generator, looping over the given array indefinitely.
- [dateRangeGenerator](https://www.wiki.jodisand.me/snippets/javascript/daterangegenerator/index.md): Creates a generator, that generates all dates in the given range using the given step.
- [dayName](https://www.wiki.jodisand.me/snippets/javascript/dayname/index.md): Gets the name of the weekday from a Date object.
- [dayOfYear](https://www.wiki.jodisand.me/snippets/javascript/dayofyear/index.md): Gets the day of the year (number in the range 1-366) from a Date object.
- [daysAgo](https://www.wiki.jodisand.me/snippets/javascript/daysago/index.md): Calculates the date of n days ago from today as a string representation.
- [daysFromNow](https://www.wiki.jodisand.me/snippets/javascript/daysfromnow/index.md): Calculates the date of n days from today as a string representation.
- [daysInMonth](https://www.wiki.jodisand.me/snippets/javascript/daysinmonth/index.md): Gets the number of days in the given month of the specified year.
- [debounce](https://www.wiki.jodisand.me/snippets/javascript/debounce/index.md): Creates a debounced function that delays invoking the provided function until at least ms milliseconds have elapsed since the last time it was invoked.
- [debouncePromise](https://www.wiki.jodisand.me/snippets/javascript/debouncepromise/index.md): Creates a debounced function that returns a promise, but delays invoking the provided function until at least ms milliseconds have elapsed since the last time it was invoked. All promises returned during this time will return the same data.
- [decapitalize](https://www.wiki.jodisand.me/snippets/javascript/decapitalize/index.md): Decapitalizes the first letter of a string.
- [deepClone](https://www.wiki.jodisand.me/snippets/javascript/deepclone/index.md): Creates a deep clone of an object. Clones primitives, arrays and objects, excluding class instances.
- [deepFlatten](https://www.wiki.jodisand.me/snippets/javascript/deepflatten/index.md): Deep flattens an array.
- [deepFreeze](https://www.wiki.jodisand.me/snippets/javascript/deepfreeze/index.md): Deep freezes an object.
- [deepGet](https://www.wiki.jodisand.me/snippets/javascript/deepget/index.md): Gets the target value in a nested JSON object, based on the keys array.
- [deepMapKeys](https://www.wiki.jodisand.me/snippets/javascript/deepmapkeys/index.md): Deep maps an object’s keys.
- [deepMerge](https://www.wiki.jodisand.me/snippets/javascript/deepmerge/index.md): Deeply merges two objects, using a function to handle keys present in both.
- [defaults](https://www.wiki.jodisand.me/snippets/javascript/defaults/index.md): Assigns default values for all properties in an object that are undefined.
- [defer](https://www.wiki.jodisand.me/snippets/javascript/defer/index.md): Defers invoking a function until the current call stack has cleared.
- [degreesToRads](https://www.wiki.jodisand.me/snippets/javascript/degreestorads/index.md): Converts an angle from degrees to radians.
- [delay](https://www.wiki.jodisand.me/snippets/javascript/delay/index.md): Invokes the provided function after ms milliseconds.
- [detectDeviceType](https://www.wiki.jodisand.me/snippets/javascript/detectdevicetype/index.md): Detects whether the page is being viewed on a mobile device or a desktop.
- [detectLanguage](https://www.wiki.jodisand.me/snippets/javascript/detectlanguage/index.md): Detects the preferred language of the current user.
- [difference](https://www.wiki.jodisand.me/snippets/javascript/difference/index.md): Calculates the difference between two arrays, without filtering duplicate values.
- [differenceBy](https://www.wiki.jodisand.me/snippets/javascript/differenceby/index.md): Returns the difference between two arrays, after applying the provided function to each array element of both.
- [differenceWith](https://www.wiki.jodisand.me/snippets/javascript/differencewith/index.md): Filters out all values from an array for which the comparator function does not return true.
- [dig](https://www.wiki.jodisand.me/snippets/javascript/dig/index.md): Gets the target value in a nested JSON object, based on the given key.
- [digitize](https://www.wiki.jodisand.me/snippets/javascript/digitize/index.md): Converts a number to an array of digits, removing its sign if necessary.
- [distance](https://www.wiki.jodisand.me/snippets/javascript/distance/index.md): Calculates the distance between two points.
- [divmod](https://www.wiki.jodisand.me/snippets/javascript/divmod/index.md): Returns an array consisting of the quotient and remainder of the given numbers.
- [drop](https://www.wiki.jodisand.me/snippets/javascript/drop/index.md): Creates a new array with n elements removed from the left.
- [dropRight](https://www.wiki.jodisand.me/snippets/javascript/dropright/index.md): Creates a new array with n elements removed from the right.
- [dropRightWhile](https://www.wiki.jodisand.me/snippets/javascript/droprightwhile/index.md): Removes elements from the end of an array until the passed function returns true. Returns the remaining elements in the array.
- [dropWhile](https://www.wiki.jodisand.me/snippets/javascript/dropwhile/index.md): Removes elements in an array until the passed function returns true. Returns the remaining elements in the array.
- [either](https://www.wiki.jodisand.me/snippets/javascript/either/index.md): Checks if at least one function returns true for a given set of arguments.
- [elementContains](https://www.wiki.jodisand.me/snippets/javascript/elementcontains/index.md): Checks if the parent element contains the child element.
- [elementIsFocused](https://www.wiki.jodisand.me/snippets/javascript/elementisfocused/index.md): Checks if the given element is focused.
- [elementIsVisibleInViewport](https://www.wiki.jodisand.me/snippets/javascript/elementisvisibleinviewport/index.md): Checks if the element specified is visible in the viewport.
- [equals](https://www.wiki.jodisand.me/snippets/javascript/equals/index.md): Performs a deep comparison between two values to determine if they are equivalent.
- [escapeHTML](https://www.wiki.jodisand.me/snippets/javascript/escapehtml/index.md): Escapes a string for use in HTML.
- [escapeRegExp](https://www.wiki.jodisand.me/snippets/javascript/escaperegexp/index.md): Escapes a string to use in a regular expression.
- [euclideanDistance](https://www.wiki.jodisand.me/snippets/javascript/euclideandistance/index.md): Calculates the distance between two points in any number of dimensions.
- [everyNth](https://www.wiki.jodisand.me/snippets/javascript/everynth/index.md): Returns every nth element in an array.
- [expandTabs](https://www.wiki.jodisand.me/snippets/javascript/expandtabs/index.md): Convert tabs to spaces, where each tab corresponds to count spaces.
- [extendHex](https://www.wiki.jodisand.me/snippets/javascript/extendhex/index.md): Extends a 3-digit color code to a 6-digit color code.
- [factorial](https://www.wiki.jodisand.me/snippets/javascript/factorial/index.md): Calculates the factorial of a number.
- [fahrenheitToCelsius](https://www.wiki.jodisand.me/snippets/javascript/fahrenheittocelsius/index.md): Converts Fahrenheit to Celsius.
- [fibonacci](https://www.wiki.jodisand.me/snippets/javascript/fibonacci/index.md): Generates an array, containing the Fibonacci sequence, up until the nth term.
- [filterNonUnique](https://www.wiki.jodisand.me/snippets/javascript/filternonunique/index.md): Creates an array with the non-unique values filtered out.
- [filterNonUniqueBy](https://www.wiki.jodisand.me/snippets/javascript/filternonuniqueby/index.md): Creates an array with the non-unique values filtered out, based on a provided comparator function.
- [filterUnique](https://www.wiki.jodisand.me/snippets/javascript/filterunique/index.md): Creates an array with the unique values filtered out.
- [filterUniqueBy](https://www.wiki.jodisand.me/snippets/javascript/filteruniqueby/index.md): Creates an array with the unique values filtered out, based on a provided comparator function.
- [findClosestAnchor](https://www.wiki.jodisand.me/snippets/javascript/findclosestanchor/index.md): Finds the anchor node closest to the given node, if any.
- [findClosestMatchingNode](https://www.wiki.jodisand.me/snippets/javascript/findclosestmatchingnode/index.md): Finds the closest matching node starting at the given node.
- [findFirstN](https://www.wiki.jodisand.me/snippets/javascript/findfirstn/index.md): Finds the first n elements for which the provided function returns a truthy value.
- [findKey](https://www.wiki.jodisand.me/snippets/javascript/findkey/index.md): Finds the first key that satisfies the provided testing function. Otherwise undefined is returned.
- [findKeys](https://www.wiki.jodisand.me/snippets/javascript/findkeys/index.md): Finds all the keys in the provided object that match the given value.
- [findLast](https://www.wiki.jodisand.me/snippets/javascript/findlast/index.md): Finds the last element for which the provided function returns a truthy value.
- [findLastIndex](https://www.wiki.jodisand.me/snippets/javascript/findlastindex/index.md): Finds the index of the last element for which the provided function returns a truthy value.
- [findLastKey](https://www.wiki.jodisand.me/snippets/javascript/findlastkey/index.md): Finds the last key that satisfies the provided testing function. Otherwise undefined is returned.
- [findLastN](https://www.wiki.jodisand.me/snippets/javascript/findlastn/index.md): Finds the last n elements for which the provided function returns a truthy value.
- [flatten](https://www.wiki.jodisand.me/snippets/javascript/flatten/index.md): Flattens an array up to the specified depth.
- [flattenObject](https://www.wiki.jodisand.me/snippets/javascript/flattenobject/index.md): Flattens an object with the paths for keys.
- [flip](https://www.wiki.jodisand.me/snippets/javascript/flip/index.md): Takes a function as an argument, then makes the first argument the last.
- [forEachRight](https://www.wiki.jodisand.me/snippets/javascript/foreachright/index.md): Executes a provided function once for each array element, starting from the array’s last element.
- [formatDuration](https://www.wiki.jodisand.me/snippets/javascript/formatduration/index.md): Returns the human-readable format of the given number of milliseconds.
- [formatNumber](https://www.wiki.jodisand.me/snippets/javascript/formatnumber/index.md): Formats a number using the local number format order.
- [formatSeconds](https://www.wiki.jodisand.me/snippets/javascript/formatseconds/index.md): Returns the ISO format of the given number of seconds.
- [formToObject](https://www.wiki.jodisand.me/snippets/javascript/formtoobject/index.md): Encodes a set of form elements as an object.
- [forOwn](https://www.wiki.jodisand.me/snippets/javascript/forown/index.md): Iterates over all own properties of an object, running a callback for each one.
- [forOwnRight](https://www.wiki.jodisand.me/snippets/javascript/forownright/index.md): Iterates over all own properties of an object in reverse, running a callback for each one.
- [frequencies](https://www.wiki.jodisand.me/snippets/javascript/frequencies/index.md): Creates an object with the unique values of an array as keys and their frequencies as the values.
- [fromCamelCase](https://www.wiki.jodisand.me/snippets/javascript/fromcamelcase/index.md): Converts a string from camelcase.
- [fromTimestamp](https://www.wiki.jodisand.me/snippets/javascript/fromtimestamp/index.md): Creates a Date object from a Unix timestamp.
- [frozenSet](https://www.wiki.jodisand.me/snippets/javascript/frozenset/index.md): Creates a frozen Set object.
- [fullscreen](https://www.wiki.jodisand.me/snippets/javascript/fullscreen/index.md): Opens or closes an element in fullscreen mode.
- [functionName](https://www.wiki.jodisand.me/snippets/javascript/functionname/index.md): Logs the name of a function.
- [functions](https://www.wiki.jodisand.me/snippets/javascript/functions/index.md): Gets an array of function property names from own (and optionally inherited) enumerable properties of an object.
- [gcd](https://www.wiki.jodisand.me/snippets/javascript/gcd/index.md): Calculates the greatest common divisor between two or more numbers/arrays.
- [generateItems](https://www.wiki.jodisand.me/snippets/javascript/generateitems/index.md): Generates an array with the given amount of items, using the given function.
- [generatorToArray](https://www.wiki.jodisand.me/snippets/javascript/generatortoarray/index.md): Converts the output of a generator function to an array.
- [geometricProgression](https://www.wiki.jodisand.me/snippets/javascript/geometricprogression/index.md): Initializes an array containing the numbers in the specified range where start and end are inclusive and the ratio between two terms is step. Returns an error if step equals 1.
- [get](https://www.wiki.jodisand.me/snippets/javascript/get/index.md): Retrieves a set of properties indicated by the given selectors from an object.
- [getAncestors](https://www.wiki.jodisand.me/snippets/javascript/getancestors/index.md): Returns all the ancestors of an element from the document root to the given element.
- [getBaseURL](https://www.wiki.jodisand.me/snippets/javascript/getbaseurl/index.md): Gets the current URL without any parameters or fragment identifiers.
- [getColonTimeFromDate](https://www.wiki.jodisand.me/snippets/javascript/getcolontimefromdate/index.md): Returns a string of the form HH:MM:SS from a Date object.
- [getDaysDiffBetweenDates](https://www.wiki.jodisand.me/snippets/javascript/getdaysdiffbetweendates/index.md): Calculates the difference (in days) between two dates.
- [getElementsBiggerThanViewport](https://www.wiki.jodisand.me/snippets/javascript/getelementsbiggerthanviewport/index.md): Returns an array of HTML elements whose width is larger than that of the viewport’s.
- [getHoursDiffBetweenDates](https://www.wiki.jodisand.me/snippets/javascript/gethoursdiffbetweendates/index.md): Calculates the difference (in hours) between two dates.
- [getImages](https://www.wiki.jodisand.me/snippets/javascript/getimages/index.md): Fetches all images from within an element and puts them into an array.
- [getMeridiemSuffixOfInteger](https://www.wiki.jodisand.me/snippets/javascript/getmeridiemsuffixofinteger/index.md): Converts an integer to a suffixed string, adding am or pm based on its value.
- [getMinutesDiffBetweenDates](https://www.wiki.jodisand.me/snippets/javascript/getminutesdiffbetweendates/index.md): Calculates the difference (in minutes) between two dates.
- [getMonthsDiffBetweenDates](https://www.wiki.jodisand.me/snippets/javascript/getmonthsdiffbetweendates/index.md): Calculates the difference (in months) between two dates.
- [getParentsUntil](https://www.wiki.jodisand.me/snippets/javascript/getparentsuntil/index.md): Finds all the ancestors of an element up until the element matched by the specified selector.
- [getProtocol](https://www.wiki.jodisand.me/snippets/javascript/getprotocol/index.md): Gets the protocol being used on the current page.
- [getScrollPosition](https://www.wiki.jodisand.me/snippets/javascript/getscrollposition/index.md): Returns the scroll position of the current page.
- [getSecondsDiffBetweenDates](https://www.wiki.jodisand.me/snippets/javascript/getsecondsdiffbetweendates/index.md): Calculates the difference (in seconds) between two dates.
- [getSelectedText](https://www.wiki.jodisand.me/snippets/javascript/getselectedtext/index.md): Gets the currently selected text.
- [getSiblings](https://www.wiki.jodisand.me/snippets/javascript/getsiblings/index.md): Returns an array containing all the siblings of the given element.
- [getStyle](https://www.wiki.jodisand.me/snippets/javascript/getstyle/index.md): Retrieves the value of a CSS rule for the specified element.
- [getTimestamp](https://www.wiki.jodisand.me/snippets/javascript/gettimestamp/index.md): Gets the Unix timestamp from a Date object.
- [getType](https://www.wiki.jodisand.me/snippets/javascript/gettype/index.md): Returns the native type of a value.
- [getURLParameters](https://www.wiki.jodisand.me/snippets/javascript/geturlparameters/index.md): Creates an object containing the parameters of the current URL.
- [getVerticalOffset](https://www.wiki.jodisand.me/snippets/javascript/getverticaloffset/index.md): Finds the distance from a given element to the top of the document.
- [groupBy](https://www.wiki.jodisand.me/snippets/javascript/groupby/index.md): Groups the elements of an array based on the given function.
- [hammingDistance](https://www.wiki.jodisand.me/snippets/javascript/hammingdistance/index.md): Calculates the Hamming distance between two values.
- [hasClass](https://www.wiki.jodisand.me/snippets/javascript/hasclass/index.md): Checks if the given element has the specified class.
- [hasDuplicates](https://www.wiki.jodisand.me/snippets/javascript/hasduplicates/index.md): Checks if there are duplicate values in a flat array.
- [hasFlags](https://www.wiki.jodisand.me/snippets/javascript/hasflags/index.md): Checks if the current process’s arguments contain the specified flags.
- [hashBrowser](https://www.wiki.jodisand.me/snippets/javascript/hashbrowser/index.md): Creates a hash for a value using the SHA-256 algorithm. Returns a promise.
- [hashNode](https://www.wiki.jodisand.me/snippets/javascript/hashnode/index.md): Creates a hash for a value using the SHA-256 algorithm. Returns a promise.
- [hasKey](https://www.wiki.jodisand.me/snippets/javascript/haskey/index.md): Checks if the target value exists in a JSON object.
- [hasMany](https://www.wiki.jodisand.me/snippets/javascript/hasmany/index.md): Checks if an array has more than one value matching the given function.
- [hasOne](https://www.wiki.jodisand.me/snippets/javascript/hasone/index.md): Checks if an array has only one value matching the given function.
- [haveSameContents](https://www.wiki.jodisand.me/snippets/javascript/havesamecontents/index.md): Checks if two arrays contain the same elements regardless of order.
- [head](https://www.wiki.jodisand.me/snippets/javascript/head/index.md): Returns the head of an array.
- [heapsort](https://www.wiki.jodisand.me/snippets/javascript/heapsort/index.md): Sorts an array of numbers, using the heapsort algorithm.
- [hexToRGB](https://www.wiki.jodisand.me/snippets/javascript/hextorgb/index.md): Converts a color code to an rgb() or rgba() string if alpha value is provided.
- [hide](https://www.wiki.jodisand.me/snippets/javascript/hide/index.md): Hides all the elements specified.
- [HSBToRGB](https://www.wiki.jodisand.me/snippets/javascript/hsbtorgb/index.md): Converts a HSB color tuple to RGB format.
- [HSLToRGB](https://www.wiki.jodisand.me/snippets/javascript/hsltorgb/index.md): Converts a HSL color tuple to RGB format.
- [httpDelete](https://www.wiki.jodisand.me/snippets/javascript/httpdelete/index.md): Makes a DELETE request to the passed URL.
- [httpGet](https://www.wiki.jodisand.me/snippets/javascript/httpget/index.md): Makes a GET request to the passed URL.
- [httpPost](https://www.wiki.jodisand.me/snippets/javascript/httppost/index.md): Makes a POST request to the passed URL.
- [httpPut](https://www.wiki.jodisand.me/snippets/javascript/httpput/index.md): Makes a PUT request to the passed URL.
- [httpsRedirect](https://www.wiki.jodisand.me/snippets/javascript/httpsredirect/index.md): Redirects the page to HTTPS if it’s currently in HTTP.
- [hz](https://www.wiki.jodisand.me/snippets/javascript/hz/index.md): Measures the number of times a function is executed per second (hz/hertz).
- [includesAll](https://www.wiki.jodisand.me/snippets/javascript/includesall/index.md): Checks if all the elements in values are included in arr.
- [includesAny](https://www.wiki.jodisand.me/snippets/javascript/includesany/index.md): Checks if at least one element of values is included in arr.
- [indentString](https://www.wiki.jodisand.me/snippets/javascript/indentstring/index.md): Indents each line in the provided string.
- [indexBy](https://www.wiki.jodisand.me/snippets/javascript/indexby/index.md): Creates an object from an array, using a function to map each value to a key.
- [indexOfAll](https://www.wiki.jodisand.me/snippets/javascript/indexofall/index.md): Finds all indexes of val in an array. If val never occurs, returns an empty array.
- [indexOfSubstrings](https://www.wiki.jodisand.me/snippets/javascript/indexofsubstrings/index.md): Finds all the indexes of a substring in a given string.
- [indexOn](https://www.wiki.jodisand.me/snippets/javascript/indexon/index.md): Creates an object from an array, using the specified key and excluding it from each value.
- [initial](https://www.wiki.jodisand.me/snippets/javascript/initial/index.md): Returns all the elements of an array except the last one.
- [initialize2DArray](https://www.wiki.jodisand.me/snippets/javascript/initialize2darray/index.md): Initializes a 2D array of given width and height and value.
- [initializeArrayWithRange](https://www.wiki.jodisand.me/snippets/javascript/initializearraywithrange/index.md): Initializes an array containing the numbers in the specified range where start and end are inclusive with their common difference step.
- [initializeArrayWithRangeRight](https://www.wiki.jodisand.me/snippets/javascript/initializearraywithrangeright/index.md): Initializes an array containing the numbers in the specified range (in reverse) where start and end are inclusive with their common difference step.
- [initializeArrayWithValues](https://www.wiki.jodisand.me/snippets/javascript/initializearraywithvalues/index.md): Initializes and fills an array with the specified values.
- [initializeNDArray](https://www.wiki.jodisand.me/snippets/javascript/initializendarray/index.md): Create a n-dimensional array with given value.
- [injectCSS](https://www.wiki.jodisand.me/snippets/javascript/injectcss/index.md): Injects the given CSS code into the current document
- [inRange](https://www.wiki.jodisand.me/snippets/javascript/inrange/index.md): Checks if the given number falls within the given range.
- [insertAfter](https://www.wiki.jodisand.me/snippets/javascript/insertafter/index.md): Inserts an HTML string after the end of the specified element.
- [insertAt](https://www.wiki.jodisand.me/snippets/javascript/insertat/index.md): Mutates the original array to insert the given values after the specified index.
- [insertBefore](https://www.wiki.jodisand.me/snippets/javascript/insertbefore/index.md): Inserts an HTML string before the start of the specified element.
- [insertionSort](https://www.wiki.jodisand.me/snippets/javascript/insertionsort/index.md): Sorts an array of numbers, using the insertion sort algorithm.
- [intersection](https://www.wiki.jodisand.me/snippets/javascript/intersection/index.md): Returns the elements that exist in both arrays, filtering duplicate values.
- [intersectionBy](https://www.wiki.jodisand.me/snippets/javascript/intersectionby/index.md): Returns the elements that exist in both arrays, after applying the provided function to each array element of both.
- [intersectionWith](https://www.wiki.jodisand.me/snippets/javascript/intersectionwith/index.md): Returns the elements that exist in both arrays, using a provided comparator function.
- [invertKeyValues](https://www.wiki.jodisand.me/snippets/javascript/invertkeyvalues/index.md): Inverts the key-value pairs of an object, without mutating it.
- [is](https://www.wiki.jodisand.me/snippets/javascript/is/index.md): Checks if the provided value is of the specified type.
- [isAbsoluteURL](https://www.wiki.jodisand.me/snippets/javascript/isabsoluteurl/index.md): Checks if the given string is an absolute URL.
- [isAfterDate](https://www.wiki.jodisand.me/snippets/javascript/isafterdate/index.md): Checks if a date is after another date.
- [isAlpha](https://www.wiki.jodisand.me/snippets/javascript/isalpha/index.md): Checks if a string contains only alpha characters.
- [isAlphaNumeric](https://www.wiki.jodisand.me/snippets/javascript/isalphanumeric/index.md): Checks if a string contains only alphanumeric characters.
- [isAnagram](https://www.wiki.jodisand.me/snippets/javascript/isanagram/index.md): Checks if a string is an anagram of another string (case-insensitive, ignores spaces, punctuation and special characters).
- [isArrayLike](https://www.wiki.jodisand.me/snippets/javascript/isarraylike/index.md): Checks if the provided argument is array-like (i.e. is iterable).
- [isAsyncFunction](https://www.wiki.jodisand.me/snippets/javascript/isasyncfunction/index.md): Checks if the given argument is an async function.
- [isBeforeDate](https://www.wiki.jodisand.me/snippets/javascript/isbeforedate/index.md): Checks if a date is before another date.
- [isBetweenDates](https://www.wiki.jodisand.me/snippets/javascript/isbetweendates/index.md): Checks if a date is between two other dates.
- [isBoolean](https://www.wiki.jodisand.me/snippets/javascript/isboolean/index.md): Checks if the given argument is a native boolean element.
- [isBrowser](https://www.wiki.jodisand.me/snippets/javascript/isbrowser/index.md): Determines if the current runtime environment is a browser so that front-end modules can run on the server (Node) without throwing errors.
- [isBrowserTabFocused](https://www.wiki.jodisand.me/snippets/javascript/isbrowsertabfocused/index.md): Checks if the browser tab of the page is focused.
- [isContainedIn](https://www.wiki.jodisand.me/snippets/javascript/iscontainedin/index.md): Checks if the elements of the first array are contained in the second one regardless of order.
- [isDateValid](https://www.wiki.jodisand.me/snippets/javascript/isdatevalid/index.md): Checks if a valid date object can be created from the given values.
- [isDeepFrozen](https://www.wiki.jodisand.me/snippets/javascript/isdeepfrozen/index.md): Checks if an object is deeply frozen.
- [isDisjoint](https://www.wiki.jodisand.me/snippets/javascript/isdisjoint/index.md): Checks if the two iterables are disjointed (have no common values).
- [isDivisible](https://www.wiki.jodisand.me/snippets/javascript/isdivisible/index.md): Checks if the first numeric argument is divisible by the second one.
- [isDuplexStream](https://www.wiki.jodisand.me/snippets/javascript/isduplexstream/index.md): Checks if the given argument is a duplex (readable and writable) stream.
- [isEmpty](https://www.wiki.jodisand.me/snippets/javascript/isempty/index.md): Checks if the a value is an empty object/collection, has no enumerable properties or is any type that is not considered a collection.
- [isEven](https://www.wiki.jodisand.me/snippets/javascript/iseven/index.md): Checks if the given number is even.
- [isFunction](https://www.wiki.jodisand.me/snippets/javascript/isfunction/index.md): Checks if the given argument is a function.
- [isGeneratorFunction](https://www.wiki.jodisand.me/snippets/javascript/isgeneratorfunction/index.md): Checks if the given argument is a generator function.
- [isISOString](https://www.wiki.jodisand.me/snippets/javascript/isisostring/index.md): Checks if the given string is valid in the simplified extended ISO format (ISO 8601).
- [isLeapYear](https://www.wiki.jodisand.me/snippets/javascript/isleapyear/index.md): Checks if the given year is a leap year.
- [isLocalStorageEnabled](https://www.wiki.jodisand.me/snippets/javascript/islocalstorageenabled/index.md): Checks if localStorage is enabled.
- [isLowerCase](https://www.wiki.jodisand.me/snippets/javascript/islowercase/index.md): Checks if a string is lower case.
- [isNegativeZero](https://www.wiki.jodisand.me/snippets/javascript/isnegativezero/index.md): Checks if the given value is equal to negative zero (-0).
- [isNil](https://www.wiki.jodisand.me/snippets/javascript/isnil/index.md): Checks if the specified value is null or undefined.
- [isNode](https://www.wiki.jodisand.me/snippets/javascript/isnode/index.md): Determines if the current runtime environment is Node.js.
- [isNull](https://www.wiki.jodisand.me/snippets/javascript/isnull/index.md): Checks if the specified value is null.
- [isNumber](https://www.wiki.jodisand.me/snippets/javascript/isnumber/index.md): Checks if the given argument is a number.
- [isObject](https://www.wiki.jodisand.me/snippets/javascript/isobject/index.md): Checks if the passed value is an object or not.
- [isObjectLike](https://www.wiki.jodisand.me/snippets/javascript/isobjectlike/index.md): Checks if a value is object-like.
- [isOdd](https://www.wiki.jodisand.me/snippets/javascript/isodd/index.md): Checks if the given number is odd.
- [isPlainObject](https://www.wiki.jodisand.me/snippets/javascript/isplainobject/index.md): Checks if the provided value is an object created by the Object constructor.
- [isPowerOfTen](https://www.wiki.jodisand.me/snippets/javascript/ispoweroften/index.md): Checks if the given number is a power of 10.
- [isPowerOfTwo](https://www.wiki.jodisand.me/snippets/javascript/ispoweroftwo/index.md): Checks if the given number is a power of 2.
- [isPrime](https://www.wiki.jodisand.me/snippets/javascript/isprime/index.md): Checks if the provided integer is a prime number.
- [isPrimitive](https://www.wiki.jodisand.me/snippets/javascript/isprimitive/index.md): Checks if the passed value is primitive or not.
- [isPromiseLike](https://www.wiki.jodisand.me/snippets/javascript/ispromiselike/index.md): Checks if an object looks like a Promise.
- [isReadableStream](https://www.wiki.jodisand.me/snippets/javascript/isreadablestream/index.md): Checks if the given argument is a readable stream.
- [isSameDate](https://www.wiki.jodisand.me/snippets/javascript/issamedate/index.md): Checks if a date is the same as another date.
- [isSameOrigin](https://www.wiki.jodisand.me/snippets/javascript/issameorigin/index.md): Checks if two URLs are on the same origin.
- [isSessionStorageEnabled](https://www.wiki.jodisand.me/snippets/javascript/issessionstorageenabled/index.md): Checks if sessionStorage is enabled.
- [isSorted](https://www.wiki.jodisand.me/snippets/javascript/issorted/index.md): Checks if a numeric array is sorted.
- [isStream](https://www.wiki.jodisand.me/snippets/javascript/isstream/index.md): Checks if the given argument is a stream.
- [isString](https://www.wiki.jodisand.me/snippets/javascript/isstring/index.md): Checks if the given argument is a string. Only works for string primitives.
- [isSymbol](https://www.wiki.jodisand.me/snippets/javascript/issymbol/index.md): Checks if the given argument is a symbol.
- [isTravisCI](https://www.wiki.jodisand.me/snippets/javascript/istravisci/index.md): Checks if the current environment is Travis CI.
- [isUndefined](https://www.wiki.jodisand.me/snippets/javascript/isundefined/index.md): Checks if the specified value is undefined.
- [isUpperCase](https://www.wiki.jodisand.me/snippets/javascript/isuppercase/index.md): Checks if a string is upper case.
- [isValidJSON](https://www.wiki.jodisand.me/snippets/javascript/isvalidjson/index.md): Checks if the provided string is a valid JSON.
- [isWeekday](https://www.wiki.jodisand.me/snippets/javascript/isweekday/index.md): Checks if the given date is a weekday.
- [isWeekend](https://www.wiki.jodisand.me/snippets/javascript/isweekend/index.md): Checks if the given date is a weekend.
- [isWritableStream](https://www.wiki.jodisand.me/snippets/javascript/iswritablestream/index.md): Checks if the given argument is a writable stream.
- [join](https://www.wiki.jodisand.me/snippets/javascript/join/index.md): Joins all elements of an array into a string and returns this string. Uses a separator and an end separator.
- [JSONtoCSV](https://www.wiki.jodisand.me/snippets/javascript/jsontocsv/index.md): Converts an array of objects to a comma-separated values (CSV) string that contains only the columns specified.
- [JSONToFile](https://www.wiki.jodisand.me/snippets/javascript/jsontofile/index.md): Writes a JSON object to a file.
- [juxt](https://www.wiki.jodisand.me/snippets/javascript/juxt/index.md): Takes several functions as argument and returns a function that is the juxtaposition of those functions.
- [kMeans](https://www.wiki.jodisand.me/snippets/javascript/kmeans/index.md): Groups the given data into k clusters, using the k-means clustering algorithm.
- [kmToMiles](https://www.wiki.jodisand.me/snippets/javascript/kmtomiles/index.md): Converts kilometers to miles.
- [kNearestNeighbors](https://www.wiki.jodisand.me/snippets/javascript/knearestneighbors/index.md): Classifies a data point relative to a labelled data set, using the k-nearest neighbors algorithm.
- [last](https://www.wiki.jodisand.me/snippets/javascript/last/index.md): Returns the last element in an array.
- [lastDateOfMonth](https://www.wiki.jodisand.me/snippets/javascript/lastdateofmonth/index.md): Returns the string representation of the last date in the given date’s month.
- [lcm](https://www.wiki.jodisand.me/snippets/javascript/lcm/index.md): Calculates the least common multiple of two or more numbers.
- [levenshteinDistance](https://www.wiki.jodisand.me/snippets/javascript/levenshteindistance/index.md): Calculates the difference between two strings, using the Levenshtein distance algorithm.
- [linearSearch](https://www.wiki.jodisand.me/snippets/javascript/linearsearch/index.md): Finds the first index of a given element in an array using the linear search algorithm.
- [listenOnce](https://www.wiki.jodisand.me/snippets/javascript/listenonce/index.md): Adds an event listener to an element that will only run the callback the first time the event is triggered.
- [logBase](https://www.wiki.jodisand.me/snippets/javascript/logbase/index.md): Calculates the logarithm of the given number in the given base.
- [longestItem](https://www.wiki.jodisand.me/snippets/javascript/longestitem/index.md): Takes any number of iterable objects or objects with a length property and returns the longest one.
- [lowercaseKeys](https://www.wiki.jodisand.me/snippets/javascript/lowercasekeys/index.md): Creates a new object from the specified object, where all the keys are in lowercase.
- [luhnCheck](https://www.wiki.jodisand.me/snippets/javascript/luhncheck/index.md): Implementation of the Luhn Algorithm used to validate a variety of identification numbers, such as credit card numbers, IMEI numbers, National Provider Identifier numbers etc.
- [mapConsecutive](https://www.wiki.jodisand.me/snippets/javascript/mapconsecutive/index.md): Maps each block of n consencutive elements using the given function, fn.
- [mapKeys](https://www.wiki.jodisand.me/snippets/javascript/mapkeys/index.md): Maps the keys of an object using the provided function, generating a new object.
- [mapNumRange](https://www.wiki.jodisand.me/snippets/javascript/mapnumrange/index.md): Maps a number from one range to another range.
- [mapObject](https://www.wiki.jodisand.me/snippets/javascript/mapobject/index.md): Maps the values of an array to an object using a function.
- [mapString](https://www.wiki.jodisand.me/snippets/javascript/mapstring/index.md): Creates a new string with the results of calling a provided function on every character in the given string.
- [mapValues](https://www.wiki.jodisand.me/snippets/javascript/mapvalues/index.md): Maps the values of an object using the provided function, generating a new object with the same keys.
- [mask](https://www.wiki.jodisand.me/snippets/javascript/mask/index.md): Replaces all but the last num of characters with the specified mask character.
- [matches](https://www.wiki.jodisand.me/snippets/javascript/matches/index.md): Compares two objects to determine if the first one contains equivalent property values to the second one.
- [matchesWith](https://www.wiki.jodisand.me/snippets/javascript/matcheswith/index.md): Compares two objects to determine if the first one contains equivalent property values to the second one, based on a provided function.
- [maxBy](https://www.wiki.jodisand.me/snippets/javascript/maxby/index.md): Returns the maximum value of an array, after mapping each element to a value using the provided function.
- [maxDate](https://www.wiki.jodisand.me/snippets/javascript/maxdate/index.md): Returns the maximum of the given dates.
- [maxN](https://www.wiki.jodisand.me/snippets/javascript/maxn/index.md): Returns the n maximum elements from the provided array.
- [median](https://www.wiki.jodisand.me/snippets/javascript/median/index.md): Calculates the median of an array of numbers.
- [memoize](https://www.wiki.jodisand.me/snippets/javascript/memoize/index.md): Returns the memoized (cached) function.
- [merge](https://www.wiki.jodisand.me/snippets/javascript/merge/index.md): Creates a new object from the combination of two or more objects.
- [mergeSort](https://www.wiki.jodisand.me/snippets/javascript/mergesort/index.md): Sorts an array of numbers, using the merge sort algorithm.
- [mergeSortedArrays](https://www.wiki.jodisand.me/snippets/javascript/mergesortedarrays/index.md): Merges two sorted arrays into one.
- [midpoint](https://www.wiki.jodisand.me/snippets/javascript/midpoint/index.md): Calculates the midpoint between two pairs of (x,y) points.
- [milesToKm](https://www.wiki.jodisand.me/snippets/javascript/milestokm/index.md): Converts miles to kilometers.
- [minBy](https://www.wiki.jodisand.me/snippets/javascript/minby/index.md): Returns the minimum value of an array, after mapping each element to a value using the provided function.
- [minDate](https://www.wiki.jodisand.me/snippets/javascript/mindate/index.md): Returns the minimum of the given dates.
- [minN](https://www.wiki.jodisand.me/snippets/javascript/minn/index.md): Returns the n minimum elements from the provided array.
- [mostFrequent](https://www.wiki.jodisand.me/snippets/javascript/mostfrequent/index.md): Returns the most frequent element in an array.
- [mostPerformant](https://www.wiki.jodisand.me/snippets/javascript/mostperformant/index.md): Returns the index of the function in an array of functions which executed the fastest.
- [negate](https://www.wiki.jodisand.me/snippets/javascript/negate/index.md): Negates a predicate function.
- [nest](https://www.wiki.jodisand.me/snippets/javascript/nest/index.md): Nests recursively objects linked to one another in a flat array.
- [nodeListToArray](https://www.wiki.jodisand.me/snippets/javascript/nodelisttoarray/index.md): Converts a NodeList to an array.
- [none](https://www.wiki.jodisand.me/snippets/javascript/none/index.md): Checks if the provided predicate function returns false for all elements in a collection.
- [nor](https://www.wiki.jodisand.me/snippets/javascript/nor/index.md): Checks if none of the arguments are true.
- [normalizeLineEndings](https://www.wiki.jodisand.me/snippets/javascript/normalizelineendings/index.md): Normalizes line endings in a string.
- [not](https://www.wiki.jodisand.me/snippets/javascript/not/index.md): Returns the logical inverse of the given value.
- [nthArg](https://www.wiki.jodisand.me/snippets/javascript/ntharg/index.md): Creates a function that gets the argument at index n.
- [nthElement](https://www.wiki.jodisand.me/snippets/javascript/nthelement/index.md): Returns the nth element of an array.
- [nthRoot](https://www.wiki.jodisand.me/snippets/javascript/nthroot/index.md): Calculates the nth root of a given number.
- [objectFromPairs](https://www.wiki.jodisand.me/snippets/javascript/objectfrompairs/index.md): Creates an object from the given key-value pairs.
- [objectToEntries](https://www.wiki.jodisand.me/snippets/javascript/objecttoentries/index.md): Creates an array of key-value pair arrays from an object.
- [objectToPairs](https://www.wiki.jodisand.me/snippets/javascript/objecttopairs/index.md): Creates an array of key-value pair arrays from an object.
- [objectToQueryString](https://www.wiki.jodisand.me/snippets/javascript/objecttoquerystring/index.md): Generates a query string from the key-value pairs of the given object.
- [observeMutations](https://www.wiki.jodisand.me/snippets/javascript/observemutations/index.md): Creates a new MutationObserver and runs the provided callback for each mutation on the specified element.
- [off](https://www.wiki.jodisand.me/snippets/javascript/off/index.md): Removes an event listener from an element.
- [offset](https://www.wiki.jodisand.me/snippets/javascript/offset/index.md): Moves the specified amount of elements to the end of the array.
- [omit](https://www.wiki.jodisand.me/snippets/javascript/omit/index.md): Omits the key-value pairs corresponding to the given keys from an object.
- [omitBy](https://www.wiki.jodisand.me/snippets/javascript/omitby/index.md): Omits the key-value pairs corresponding to the keys of the object for which the given function returns falsy.
- [on](https://www.wiki.jodisand.me/snippets/javascript/on/index.md): Adds an event listener to an element with the ability to use event delegation.
- [once](https://www.wiki.jodisand.me/snippets/javascript/once/index.md): Ensures a function is called only once.
- [onClickOutside](https://www.wiki.jodisand.me/snippets/javascript/onclickoutside/index.md): Runs the callback whenever the user clicks outside of the specified element.
- [onScrollStop](https://www.wiki.jodisand.me/snippets/javascript/onscrollstop/index.md): Runs the callback whenever the user has stopped scrolling.
- [onUserInputChange](https://www.wiki.jodisand.me/snippets/javascript/onuserinputchange/index.md): Runs the callback whenever the user input type changes (mouse or touch).
- [or](https://www.wiki.jodisand.me/snippets/javascript/or/index.md): Checks if at least one of the arguments is true.
- [orderBy](https://www.wiki.jodisand.me/snippets/javascript/orderby/index.md): Sorts an array of objects, ordered by properties and orders.
- [orderWith](https://www.wiki.jodisand.me/snippets/javascript/orderwith/index.md): Sorts an array of objects, ordered by a property, based on the array of orders provided.
- [over](https://www.wiki.jodisand.me/snippets/javascript/over/index.md): Creates a function that invokes each provided function with the arguments it receives and returns the results.
- [overArgs](https://www.wiki.jodisand.me/snippets/javascript/overargs/index.md): Creates a function that invokes the provided function with its arguments transformed.
- [pad](https://www.wiki.jodisand.me/snippets/javascript/pad/index.md): Pads a string on both sides with the specified character, if it’s shorter than the specified length.
- [padNumber](https://www.wiki.jodisand.me/snippets/javascript/padnumber/index.md): Pads a given number to the specified length.
- [palindrome](https://www.wiki.jodisand.me/snippets/javascript/palindrome/index.md): Checks if the given string is a palindrome.
- [parseCookie](https://www.wiki.jodisand.me/snippets/javascript/parsecookie/index.md): Parses an HTTP Cookie header string, returning an object of all cookie name-value pairs.
- [partial](https://www.wiki.jodisand.me/snippets/javascript/partial/index.md): Creates a function that invokes fn with partials prepended to the arguments it receives.
- [partialRight](https://www.wiki.jodisand.me/snippets/javascript/partialright/index.md): Creates a function that invokes fn with partials appended to the arguments it receives.
- [partition](https://www.wiki.jodisand.me/snippets/javascript/partition/index.md): Groups the elements into two arrays, depending on the provided function’s truthiness for each element.
- [partitionBy](https://www.wiki.jodisand.me/snippets/javascript/partitionby/index.md): Applies fn to each value in arr, splitting it each time the provided function returns a new value.
- [percentile](https://www.wiki.jodisand.me/snippets/javascript/percentile/index.md): Calculates the percentage of numbers in the given array that are less or equal to the given value.
- [permutations](https://www.wiki.jodisand.me/snippets/javascript/permutations/index.md): Generates all permutations of an array’s elements (contains duplicates).
- [pick](https://www.wiki.jodisand.me/snippets/javascript/pick/index.md): Picks the key-value pairs corresponding to the given keys from an object.
- [pickBy](https://www.wiki.jodisand.me/snippets/javascript/pickby/index.md): Creates an object composed of the properties the given function returns truthy for.
- [pipeAsyncFunctions](https://www.wiki.jodisand.me/snippets/javascript/pipeasyncfunctions/index.md): Performs left-to-right function composition for asynchronous functions.
- [pipeFunctions](https://www.wiki.jodisand.me/snippets/javascript/pipefunctions/index.md): Performs left-to-right function composition.
- [pluck](https://www.wiki.jodisand.me/snippets/javascript/pluck/index.md): Converts an array of objects into an array of values corresponding to the specified key.
- [pluralize](https://www.wiki.jodisand.me/snippets/javascript/pluralize/index.md): Returns the singular or plural form of the word based on the input number, using an optional dictionary if supplied.
- [powerset](https://www.wiki.jodisand.me/snippets/javascript/powerset/index.md): Returns the powerset of a given array of numbers.
- [prefersDarkColorScheme](https://www.wiki.jodisand.me/snippets/javascript/prefersdarkcolorscheme/index.md): Checks if the user color scheme preference is dark.
- [prefersLightColorScheme](https://www.wiki.jodisand.me/snippets/javascript/preferslightcolorscheme/index.md): Checks if the user color scheme preference is light.
- [prefix](https://www.wiki.jodisand.me/snippets/javascript/prefix/index.md): Prefixes a CSS property based on the current browser.
- [prettyBytes](https://www.wiki.jodisand.me/snippets/javascript/prettybytes/index.md): Converts a number in bytes to a human-readable string.
- [primeFactors](https://www.wiki.jodisand.me/snippets/javascript/primefactors/index.md): Finds the prime factors of a given number using the trial division algorithm.
- [primes](https://www.wiki.jodisand.me/snippets/javascript/primes/index.md): Generates primes up to a given number, using the Sieve of Eratosthenes.
- [prod](https://www.wiki.jodisand.me/snippets/javascript/prod/index.md): Calculates the product of two or more numbers/arrays.
- [promisify](https://www.wiki.jodisand.me/snippets/javascript/promisify/index.md): Converts an asynchronous function to return a promise.
- [pull](https://www.wiki.jodisand.me/snippets/javascript/pull/index.md): Mutates the original array to filter out the values specified.
- [pullAtIndex](https://www.wiki.jodisand.me/snippets/javascript/pullatindex/index.md): Mutates the original array to filter out the values at the specified indexes. Returns the removed elements.
- [pullAtValue](https://www.wiki.jodisand.me/snippets/javascript/pullatvalue/index.md): Mutates the original array to filter out the values specified. Returns the removed elements.
- [pullBy](https://www.wiki.jodisand.me/snippets/javascript/pullby/index.md): Mutates the original array to filter out the values specified, based on a given iterator function.
- [quarterOfYear](https://www.wiki.jodisand.me/snippets/javascript/quarterofyear/index.md): Returns the quarter and year to which the supplied date belongs to.
- [queryStringToObject](https://www.wiki.jodisand.me/snippets/javascript/querystringtoobject/index.md): Generates an object from the given query string or URL.
- [quickSort](https://www.wiki.jodisand.me/snippets/javascript/quicksort/index.md): Sorts an array of numbers, using the quicksort algorithm.
- [radsToDegrees](https://www.wiki.jodisand.me/snippets/javascript/radstodegrees/index.md): Converts an angle from radians to degrees.
- [randomAlphaNumeric](https://www.wiki.jodisand.me/snippets/javascript/randomalphanumeric/index.md): Generates a random string with the specified length.
- [randomBoolean](https://www.wiki.jodisand.me/snippets/javascript/randomboolean/index.md): Generates a random boolean value.
- [randomHexColorCode](https://www.wiki.jodisand.me/snippets/javascript/randomhexcolorcode/index.md): Generates a random hexadecimal color code.
- [randomIntArrayInRange](https://www.wiki.jodisand.me/snippets/javascript/randomintarrayinrange/index.md): Generates an array of n random integers in the specified range.
- [randomIntegerInRange](https://www.wiki.jodisand.me/snippets/javascript/randomintegerinrange/index.md): Generates a random integer in the specified range.
- [randomNumberInRange](https://www.wiki.jodisand.me/snippets/javascript/randomnumberinrange/index.md): Generates a random number in the specified range.
- [rangeGenerator](https://www.wiki.jodisand.me/snippets/javascript/rangegenerator/index.md): Creates a generator, that generates all values in the given range using the given step.
- [readFileLines](https://www.wiki.jodisand.me/snippets/javascript/readfilelines/index.md): Returns an array of lines from the specified file.
- [rearg](https://www.wiki.jodisand.me/snippets/javascript/rearg/index.md): Creates a function that invokes the provided function with its arguments arranged according to the specified indexes.
- [recordAnimationFrames](https://www.wiki.jodisand.me/snippets/javascript/recordanimationframes/index.md): Invokes the provided callback on each animation frame.
- [redirect](https://www.wiki.jodisand.me/snippets/javascript/redirect/index.md): Redirects to a specified URL.
- [reducedFilter](https://www.wiki.jodisand.me/snippets/javascript/reducedfilter/index.md): Filters an array of objects based on a condition while also filtering out unspecified keys.
- [reduceSuccessive](https://www.wiki.jodisand.me/snippets/javascript/reducesuccessive/index.md): Applies a function against an accumulator and each element in the array (from left to right), returning an array of successively reduced values.
- [reduceWhich](https://www.wiki.jodisand.me/snippets/javascript/reducewhich/index.md): Returns the minimum/maximum value of an array, after applying the provided function to set the comparing rule.
- [reject](https://www.wiki.jodisand.me/snippets/javascript/reject/index.md): Filters an array’s values based on a predicate function, returning only values for which the predicate function returns false.
- [remove](https://www.wiki.jodisand.me/snippets/javascript/remove/index.md): Mutates an array by removing elements for which the given function returns false.
- [removeAccents](https://www.wiki.jodisand.me/snippets/javascript/removeaccents/index.md): Removes accents from strings.
- [removeClass](https://www.wiki.jodisand.me/snippets/javascript/removeclass/index.md): Removes a class from an HTML element.
- [removeElement](https://www.wiki.jodisand.me/snippets/javascript/removeelement/index.md): Removes an element from the DOM.
- [removeEventListenerAll](https://www.wiki.jodisand.me/snippets/javascript/removeeventlistenerall/index.md): Detaches an event listener from all the provided targets.
- [removeNonASCII](https://www.wiki.jodisand.me/snippets/javascript/removenonascii/index.md): Removes non-printable ASCII characters.
- [removeWhitespace](https://www.wiki.jodisand.me/snippets/javascript/removewhitespace/index.md): Returns a string with whitespaces removed.
- [renameKeys](https://www.wiki.jodisand.me/snippets/javascript/renamekeys/index.md): Replaces the names of multiple object keys with the values provided.
- [renderElement](https://www.wiki.jodisand.me/snippets/javascript/renderelement/index.md): Renders the given DOM tree in the specified DOM element.
- [repeatGenerator](https://www.wiki.jodisand.me/snippets/javascript/repeatgenerator/index.md): Creates a generator, repeating the given value indefinitely.
- [replaceLast](https://www.wiki.jodisand.me/snippets/javascript/replacelast/index.md): Replaces the last occurence of a pattern in a string.
- [requireUncached](https://www.wiki.jodisand.me/snippets/javascript/requireuncached/index.md): Loads a module after removing it from the cache (if exists).
- [reverseNumber](https://www.wiki.jodisand.me/snippets/javascript/reversenumber/index.md): Reverses a number.
- [reverseString](https://www.wiki.jodisand.me/snippets/javascript/reversestring/index.md): Reverses a string.
- [RGBToHex](https://www.wiki.jodisand.me/snippets/javascript/rgbtohex/index.md): Converts the values of RGB components to a hexadecimal color code.
- [RGBToHSB](https://www.wiki.jodisand.me/snippets/javascript/rgbtohsb/index.md): Converts a RGB color tuple to HSB format.
- [RGBToHSL](https://www.wiki.jodisand.me/snippets/javascript/rgbtohsl/index.md): Converts a RGB color tuple to HSL format.
- [round](https://www.wiki.jodisand.me/snippets/javascript/round/index.md): Rounds a number to a specified amount of digits.
- [runAsync](https://www.wiki.jodisand.me/snippets/javascript/runasync/index.md): Runs a function in a separate thread by using a Web Worker, allowing long running functions to not block the UI.
- [runPromisesInSeries](https://www.wiki.jodisand.me/snippets/javascript/runpromisesinseries/index.md): Runs an array of promises in series.
- [sample](https://www.wiki.jodisand.me/snippets/javascript/sample/index.md): Gets a random element from an array.
- [sampleSize](https://www.wiki.jodisand.me/snippets/javascript/samplesize/index.md): Gets n random elements at unique keys from an array up to the size of the array.
- [scrollToTop](https://www.wiki.jodisand.me/snippets/javascript/scrolltotop/index.md): Smooth-scrolls to the top of the page.
- [sdbm](https://www.wiki.jodisand.me/snippets/javascript/sdbm/index.md): Hashes the input string into a whole number.
- [selectionSort](https://www.wiki.jodisand.me/snippets/javascript/selectionsort/index.md): Sorts an array of numbers, using the selection sort algorithm.
- [serializeCookie](https://www.wiki.jodisand.me/snippets/javascript/serializecookie/index.md): Serializes a cookie name-value pair into a Set-Cookie header string.
- [serializeForm](https://www.wiki.jodisand.me/snippets/javascript/serializeform/index.md): Encodes a set of form elements as a query string.
- [setStyle](https://www.wiki.jodisand.me/snippets/javascript/setstyle/index.md): Sets the value of a CSS rule for the specified HTML element.
- [shallowClone](https://www.wiki.jodisand.me/snippets/javascript/shallowclone/index.md): Creates a shallow clone of an object.
- [shank](https://www.wiki.jodisand.me/snippets/javascript/shank/index.md): Has the same functionality as Array.prototype.splice(), but returning a new array instead of mutating the original array.
- [show](https://www.wiki.jodisand.me/snippets/javascript/show/index.md): Shows all the elements specified.
- [shuffle](https://www.wiki.jodisand.me/snippets/javascript/shuffle/index.md): Randomizes the order of the values of an array, returning a new array.
- [similarity](https://www.wiki.jodisand.me/snippets/javascript/similarity/index.md): Returns an array of elements that appear in both arrays.
- [size](https://www.wiki.jodisand.me/snippets/javascript/size/index.md): Gets the size of an array, object or string.
- [sleep](https://www.wiki.jodisand.me/snippets/javascript/sleep/index.md): Delays the execution of an asynchronous function.
- [slugify](https://www.wiki.jodisand.me/snippets/javascript/slugify/index.md): Converts a string to a URL-friendly slug.
- [smoothScroll](https://www.wiki.jodisand.me/snippets/javascript/smoothscroll/index.md): Smoothly scrolls the element on which it’s called into the visible area of the browser window.
- [sortCharactersInString](https://www.wiki.jodisand.me/snippets/javascript/sortcharactersinstring/index.md): Alphabetically sorts the characters in a string.
- [sortedIndex](https://www.wiki.jodisand.me/snippets/javascript/sortedindex/index.md): Finds the lowest index at which a value should be inserted into an array in order to maintain its sorting order.
- [sortedIndexBy](https://www.wiki.jodisand.me/snippets/javascript/sortedindexby/index.md): Finds the lowest index at which a value should be inserted into an array in order to maintain its sorting order, based on the provided iterator function.
- [sortedLastIndex](https://www.wiki.jodisand.me/snippets/javascript/sortedlastindex/index.md): Finds the highest index at which a value should be inserted into an array in order to maintain its sort order.
- [sortedLastIndexBy](https://www.wiki.jodisand.me/snippets/javascript/sortedlastindexby/index.md): Finds the highest index at which a value should be inserted into an array in order to maintain its sort order, based on a provided iterator function.
- [splitLines](https://www.wiki.jodisand.me/snippets/javascript/splitlines/index.md): Splits a multiline string into an array of lines.
- [spreadOver](https://www.wiki.jodisand.me/snippets/javascript/spreadover/index.md): Takes a variadic function and returns a function that accepts an array of arguments.
- [stableSort](https://www.wiki.jodisand.me/snippets/javascript/stablesort/index.md): Performs stable sorting of an array, preserving the initial indexes of items when their values are the same.
- [standardDeviation](https://www.wiki.jodisand.me/snippets/javascript/standarddeviation/index.md): Calculates the standard deviation of an array of numbers.
- [stringifyCircularJSON](https://www.wiki.jodisand.me/snippets/javascript/stringifycircularjson/index.md): Serializes a JSON object containing circular references into a JSON format.
- [stringPermutations](https://www.wiki.jodisand.me/snippets/javascript/stringpermutations/index.md): Generates all permutations of a string (contains duplicates).
- [stripHTMLTags](https://www.wiki.jodisand.me/snippets/javascript/striphtmltags/index.md): Removes HTML/XML tags from string.
- [subSet](https://www.wiki.jodisand.me/snippets/javascript/subset/index.md): Checks if the first iterable is a subset of the second one, excluding duplicate values.
- [sum](https://www.wiki.jodisand.me/snippets/javascript/sum/index.md): Calculates the sum of two or more numbers/arrays.
- [sumBy](https://www.wiki.jodisand.me/snippets/javascript/sumby/index.md): Calculates the sum of an array, after mapping each element to a value using the provided function.
- [sumN](https://www.wiki.jodisand.me/snippets/javascript/sumn/index.md): Sums all the numbers between 1 and n.
- [sumPower](https://www.wiki.jodisand.me/snippets/javascript/sumpower/index.md): Calculates the sum of the powers of all the numbers from start to end (both inclusive).
- [superSet](https://www.wiki.jodisand.me/snippets/javascript/superset/index.md): Checks if the first iterable is a superset of the second one, excluding duplicate values.
- [supportsTouchEvents](https://www.wiki.jodisand.me/snippets/javascript/supportstouchevents/index.md): Checks if touch events are supported.
- [swapCase](https://www.wiki.jodisand.me/snippets/javascript/swapcase/index.md): Creates a string with uppercase characters converted to lowercase and vice versa.
- [symbolizeKeys](https://www.wiki.jodisand.me/snippets/javascript/symbolizekeys/index.md): Creates a new object, converting each key to a Symbol.
- [symmetricDifference](https://www.wiki.jodisand.me/snippets/javascript/symmetricdifference/index.md): Returns the symmetric difference between two arrays, without filtering out duplicate values.
- [symmetricDifferenceBy](https://www.wiki.jodisand.me/snippets/javascript/symmetricdifferenceby/index.md): Returns the symmetric difference between two arrays, after applying the provided function to each array element of both.
- [symmetricDifferenceWith](https://www.wiki.jodisand.me/snippets/javascript/symmetricdifferencewith/index.md): Returns the symmetric difference between two arrays, using a provided function as a comparator.
- [tail](https://www.wiki.jodisand.me/snippets/javascript/tail/index.md): Returns all elements in an array except for the first one.
- [take](https://www.wiki.jodisand.me/snippets/javascript/take/index.md): Creates an array with n elements removed from the beginning.
- [takeRight](https://www.wiki.jodisand.me/snippets/javascript/takeright/index.md): Creates an array with n elements removed from the end.
- [takeRightUntil](https://www.wiki.jodisand.me/snippets/javascript/takerightuntil/index.md): Removes elements from the end of an array until the passed function returns true. Returns the removed elements.
- [takeRightWhile](https://www.wiki.jodisand.me/snippets/javascript/takerightwhile/index.md): Removes elements from the end of an array until the passed function returns false. Returns the removed elements.
- [takeUntil](https://www.wiki.jodisand.me/snippets/javascript/takeuntil/index.md): Removes elements in an array until the passed function returns true. Returns the removed elements.
- [takeWhile](https://www.wiki.jodisand.me/snippets/javascript/takewhile/index.md): Removes elements in an array until the passed function returns false. Returns the removed elements.
- [throttle](https://www.wiki.jodisand.me/snippets/javascript/throttle/index.md): Creates a throttled function that only invokes the provided function at most once per every wait milliseconds
- [times](https://www.wiki.jodisand.me/snippets/javascript/times/index.md): Iterates over a callback n times
- [timeTaken](https://www.wiki.jodisand.me/snippets/javascript/timetaken/index.md): Measures the time it takes for a function to execute.
- [toCamelCase](https://www.wiki.jodisand.me/snippets/javascript/tocamelcase/index.md): Converts a string to camelcase.
- [toCharArray](https://www.wiki.jodisand.me/snippets/javascript/tochararray/index.md): Converts a string to an array of characters.
- [toCurrency](https://www.wiki.jodisand.me/snippets/javascript/tocurrency/index.md): Takes a number and returns it in the specified currency formatting.
- [toDecimalMark](https://www.wiki.jodisand.me/snippets/javascript/todecimalmark/index.md): Converts a number to a decimal mark formatted string.
- [toggleClass](https://www.wiki.jodisand.me/snippets/javascript/toggleclass/index.md): Toggles a class for an HTML element.
- [toHash](https://www.wiki.jodisand.me/snippets/javascript/tohash/index.md): Reduces a given array-like into a value hash (keyed data store).
- [toHSLArray](https://www.wiki.jodisand.me/snippets/javascript/tohslarray/index.md): Converts an hsl() color string to an array of values.
- [toHSLObject](https://www.wiki.jodisand.me/snippets/javascript/tohslobject/index.md): Converts an hsl() color string to an object with the values of each color.
- [toISOStringWithTimezone](https://www.wiki.jodisand.me/snippets/javascript/toisostringwithtimezone/index.md): Converts a date to extended ISO format (ISO 8601), including timezone offset.
- [toKebabCase](https://www.wiki.jodisand.me/snippets/javascript/tokebabcase/index.md): Converts a string to kebab case.
- [tomorrow](https://www.wiki.jodisand.me/snippets/javascript/tomorrow/index.md): Results in a string representation of tomorrow’s date.
- [toOrdinalSuffix](https://www.wiki.jodisand.me/snippets/javascript/toordinalsuffix/index.md): Takes a number and returns it as a string with the correct ordinal indicator suffix.
- [toPairs](https://www.wiki.jodisand.me/snippets/javascript/topairs/index.md): Creates an array of key-value pair arrays from an object or other iterable.
- [toRGBArray](https://www.wiki.jodisand.me/snippets/javascript/torgbarray/index.md): Converts an rgb() color string to an array of values.
- [toRGBObject](https://www.wiki.jodisand.me/snippets/javascript/torgbobject/index.md): Converts an rgb() color string to an object with the values of each color.
- [toRomanNumeral](https://www.wiki.jodisand.me/snippets/javascript/toromannumeral/index.md): Converts an integer to its roman numeral representation. Accepts value between 1 and 3999 (both inclusive).
- [toSafeInteger](https://www.wiki.jodisand.me/snippets/javascript/tosafeinteger/index.md): Converts a value to a safe integer.
- [toSnakeCase](https://www.wiki.jodisand.me/snippets/javascript/tosnakecase/index.md): Converts a string to snake case.
- [toTitleCase](https://www.wiki.jodisand.me/snippets/javascript/totitlecase/index.md): Converts a string to title case.
- [transform](https://www.wiki.jodisand.me/snippets/javascript/transform/index.md): Applies a function against an accumulator and each key in the object (from left to right).
- [triggerEvent](https://www.wiki.jodisand.me/snippets/javascript/triggerevent/index.md): Triggers a specific event on a given element, optionally passing custom data.
- [truncateString](https://www.wiki.jodisand.me/snippets/javascript/truncatestring/index.md): Truncates a string up to a specified length.
- [truncateStringAtWhitespace](https://www.wiki.jodisand.me/snippets/javascript/truncatestringatwhitespace/index.md): Truncates a string up to specified length, respecting whitespace when possible.
- [truthCheckCollection](https://www.wiki.jodisand.me/snippets/javascript/truthcheckcollection/index.md): Checks if the predicate function is truthy for all elements of a collection.
- [unary](https://www.wiki.jodisand.me/snippets/javascript/unary/index.md): Creates a function that accepts up to one argument, ignoring any additional arguments.
- [uncurry](https://www.wiki.jodisand.me/snippets/javascript/uncurry/index.md): Uncurries a function up to depth n.
- [unescapeHTML](https://www.wiki.jodisand.me/snippets/javascript/unescapehtml/index.md): Unescapes escaped HTML characters.
- [unflattenObject](https://www.wiki.jodisand.me/snippets/javascript/unflattenobject/index.md): Unflatten an object with the paths for keys.
- [unfold](https://www.wiki.jodisand.me/snippets/javascript/unfold/index.md): Builds an array, using an iterator function and an initial seed value.
- [union](https://www.wiki.jodisand.me/snippets/javascript/union/index.md): Returns every element that exists in any of the two arrays at least once.
- [unionBy](https://www.wiki.jodisand.me/snippets/javascript/unionby/index.md): Returns every element that exists in any of the two arrays at least once, after applying the provided function to each array element of both.
- [unionWith](https://www.wiki.jodisand.me/snippets/javascript/unionwith/index.md): Returns every element that exists in any of the two arrays at least once, using a provided comparator function.
- [uniqueElements](https://www.wiki.jodisand.me/snippets/javascript/uniqueelements/index.md): Finds all unique values in an array.
- [uniqueElementsBy](https://www.wiki.jodisand.me/snippets/javascript/uniqueelementsby/index.md): Finds all unique values of an array, based on a provided comparator function.
- [uniqueElementsByRight](https://www.wiki.jodisand.me/snippets/javascript/uniqueelementsbyright/index.md): Finds all unique values of an array, based on a provided comparator function, starting from the right.
- [uniqueSymmetricDifference](https://www.wiki.jodisand.me/snippets/javascript/uniquesymmetricdifference/index.md): Returns the unique symmetric difference between two arrays, not containing duplicate values from either array.
- [untildify](https://www.wiki.jodisand.me/snippets/javascript/untildify/index.md): Converts a tilde path to an absolute path.
- [unzip](https://www.wiki.jodisand.me/snippets/javascript/unzip/index.md): Creates an array of arrays, ungrouping the elements in an array produced by zip.
- [unzipWith](https://www.wiki.jodisand.me/snippets/javascript/unzipwith/index.md): Creates an array of elements, ungrouping the elements in an array produced by zip and applying the provided function.
- [URLJoin](https://www.wiki.jodisand.me/snippets/javascript/urljoin/index.md): Joins all given URL segments together, then normalizes the resulting URL.
- [UUIDGeneratorBrowser](https://www.wiki.jodisand.me/snippets/javascript/uuidgeneratorbrowser/index.md): Generates a UUID in a browser.
- [UUIDGeneratorNode](https://www.wiki.jodisand.me/snippets/javascript/uuidgeneratornode/index.md): Generates a UUID in Node.JS.
- [validateNumber](https://www.wiki.jodisand.me/snippets/javascript/validatenumber/index.md): Checks if the given value is a number.
- [vectorAngle](https://www.wiki.jodisand.me/snippets/javascript/vectorangle/index.md): Calculates the angle (theta) between two vectors.
- [vectorDistance](https://www.wiki.jodisand.me/snippets/javascript/vectordistance/index.md): Calculates the distance between two vectors.
- [walkThrough](https://www.wiki.jodisand.me/snippets/javascript/walkthrough/index.md): Creates a generator, that walks through all the keys of a given object.
- [weekOfYear](https://www.wiki.jodisand.me/snippets/javascript/weekofyear/index.md): Returns the zero-indexed week of the year that a date corresponds to.
- [weightedAverage](https://www.wiki.jodisand.me/snippets/javascript/weightedaverage/index.md): Calculates the weighted average of two or more numbers.
- [weightedSample](https://www.wiki.jodisand.me/snippets/javascript/weightedsample/index.md): Gets a random element from an array, using the provided weights as the probabilities for each element.
- [when](https://www.wiki.jodisand.me/snippets/javascript/when/index.md): Returns a function that takes one argument and runs a callback if it’s truthy or returns it if falsy.
- [without](https://www.wiki.jodisand.me/snippets/javascript/without/index.md): Filters out the elements of an array that have one of the specified values.
- [words](https://www.wiki.jodisand.me/snippets/javascript/words/index.md): Converts a given string into an array of words.
- [wordWrap](https://www.wiki.jodisand.me/snippets/javascript/wordwrap/index.md): Wraps a string to a given number of characters using a string break character.
- [xor](https://www.wiki.jodisand.me/snippets/javascript/xor/index.md): Checks if only one of the arguments is true.
- [xProd](https://www.wiki.jodisand.me/snippets/javascript/xprod/index.md): Creates a new array out of the two supplied by creating each possible pair from the arrays.
- [yesNo](https://www.wiki.jodisand.me/snippets/javascript/yesno/index.md): Returns true if the string is y/yes or false if the string is n/no.
- [yesterday](https://www.wiki.jodisand.me/snippets/javascript/yesterday/index.md): Results in a string representation of yesterday’s date.
- [zip](https://www.wiki.jodisand.me/snippets/javascript/zip/index.md): Creates an array of elements, grouped based on their position in the original arrays.
- [zipObject](https://www.wiki.jodisand.me/snippets/javascript/zipobject/index.md): Associates properties to values, given array of valid property identifiers and an array of values.
- [zipWith](https://www.wiki.jodisand.me/snippets/javascript/zipwith/index.md): Creates an array of elements, grouped based on the position in the original arrays and using a function to specify how grouped values should be combined.
