array-foreach
Array#forEach ponyfill for older browsers
Ponyfill: A polyfill that doesn't overwrite the native method
DESCRIPTION
Provides forEach
function for older browsers, use native implememtation if exists.
It's just like
EXAMPLE
var forEach = ;var result = '';;console; // 'foobarbaz'
INSTALL
via npm
Install
$ npm install --save array-foreach
Use
var forEach = ;
via bower
Install
$ bower install --save array-foreach
Load (forEach
function is exported)
<script type="text/javascript" src="./path/to/bower_components/array-foreach/build/array-foreach.js"></script>
Use
var result = '';;
AUTHOR
LICENSE
Licensed under the MIT license.