JavaScript Array Explorer is a resource to help figure out what JavaScript array method would be best to use at any given time.
The pattern matching is basically a switch
on steroids, you can create powerful conditions such based on Object
properties or Array
content without manipulating the Object
or Array
itself.
match-sorter is a simple, expected, and deterministic best-match sorting of an array in JavaScript. It follows a simple and sensible algorithm that makes it easy for you to filter and sort a list of items based on given input. Items are ranked based on sensible criteria that result in a better user experience.
Collect.js is a convenient and dependency free wrapper for working with arrays and objects.
Serialize an HTML Form to a JavaScript Object, supporting nested attributes and arrays. The serializeJSON
function does not return JSON, but an object instead.