@skt-t1-byungi/array-for-each
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

@skt-t1-byungi/array-for-each

forEach() for old browser, in typescript.

Example

forEach([1, 2], x => console.log('value is ' + x))

// value is 1
// value is 2

forEach(array, callback, [thisArg])

array

Target array.

callback

Function to execute for each element.

thisArg

Value to use as this when executing callback.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @skt-t1-byungi/array-for-each

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

1.51 kB

Total Files

4

Last publish

Collaborators

  • skt-t1-byungi