@skt-t1-byungi/array-map
v0.2.0
Published
map() for old browser, in typescript.
Readme
@skt-t1-byungi/array-map
map() for old browser, in typescript.
Example
map([1, 2, 3], x => x * 2)
// => [2, 4, 6]map(array, mapper, [thisArg])
array
Target array.
mapper
Function that produces an element of the new Array.
thisArg
Value to use as this when executing callback.
License
MIT
