News for hackers. Stuff that matters.
Re:iOS 8 length bug breaks jQuery and Underscore object iter... by caperfee on Wednesday April 01, 2015 @01:34AM (#9301816)
It's not quite so simple since JavaScript has the concept of array-like objects - basically objects with a length property and numeric keys (but which aren't arrays).

From the Underscore documentation: "Collection functions work on arrays, objects, and array-like objects such as arguments, NodeList and similar".

So basically this bug can lead to false positives when checking for array-like objects.

There are no comments on this comment yet.