Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

iterata a array in js

Array.prototype.foo = "foo!";
var array = ['a', 'b', 'c'];

for (var i in array) {
    console.log(array[i]);
}
 Run code snippet
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #iterata #array #js
ADD COMMENT
Topic
Name
4+9 =