Array.prototype.extract(field)
extracts a new array containing the specified field as an objectArray.prototype.filterByField(field, key)
returns an array of objects where the givenfield
of the object equals the givenkey
Array.prototype.map(from, to)
returns an associative array mapping thefrom
field of an object in the array to theto
field of the same object.Array.prototype.max()
returns the maximum of an arrayArray.prototype.min()
returns the minimum of an arrayFunction.prototype.bind = function(context)
Bind function wraps a function in a closure, storing a reference to the context argument in the containing scopeMath.signum(x)
calculates the signum of the parameter
oschrenk / js.ext Goto Github PK
View Code? Open in Web Editor NEWJavaScript extensions