1. 用于找出全正数的数组里面的最小值或是最大值 第一个参数是String,为max || min 第二个参数是 需要找的数组
Get the minimum value in an array
A JS implementation of JSONPath with some additional operators
Efficient Binary heap (priority queue, binary tree) data structure for JavaScript / TypeScript. Includes JavaScript methods, Python's heapq module methods, and Java's PriorityQueue methods.
`Array#forEach()` but it’s possible to define where to move to next
A tiny, PEG-like system for building language grammars with regexes.
Rescale an array into a range
Normalize array (possibly n-dimensional) to zero mean and unit variance
Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
A simple list of possible Typed Array names.
Fast kernel density estimation library
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
A minimal DOM implementation
An ES7/ES2016 spec-compliant `Array.prototype.includes` shim/polyfill/replacement that works as far down as ES3.
Is this value a JS ArrayBuffer?
JSON diff & patch (object and array diff, text diff, multiple output formats)
Provides additional types for TypeScript.
Robustly get the length of a Typed Array
Is this value a JS SharedArrayBuffer?
Robustly get the byte offset of a Typed Array
`Array.prototype.concat`, but made safe by ignoring Symbol.isConcatSpreadable
Is this value a JS Typed Array? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.
Get the ArrayBuffer out of a TypedArray, robustly.
Robustly get the byte length of a Typed Array