JSFiddle - React, Tailwind, and code Playground
by Cody Lindley
HTML
<script src="https://dl.dropboxusercontent.com/u/2026291/firebug-lite-debug.js"></script>
JavaScript
//use forEach on string, logging each character in string
[].forEach.call('ABC',console.log);
//user forEach on array-like object (i.e. arguments), logging each argument passed
var myFunction = function(a,b,c){
[].forEach.call(arguments,console.log);
};
myFunction(1,2,3);