Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Problem with arrays in javascript (v8)

0
0
Not sure if I should post this as an issue, or it belongs here.

I'm using ClearScript to render pages (using handlebars), and seem to have a problem when iterating array in javascript (again, using handlebards).

Are the arrays not really arrays? If I iterate (using handlebars' #each), it looks like I get the elements in the array (as I should) and methods/properties of the array, or at least that's my guess.

Any input?

Viewing all articles
Browse latest Browse all 2297