Doing:
var tags = ["foobar", "hello", "world"];
$.each(tags, function(tag) {
console.log(tag);
});
Gives me an output of
0
1
2
Why is my output not
foobar
hello
world
Doing:
var tags = ["foobar", "hello", "world"];
$.each(tags, function(tag) {
console.log(tag);
});
Gives me an output of
0
1
2
Why is my output not
foobar
hello
world