Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

bondydaa

Member since
bondydaa

Recent Docs Activity

View all activity
Page Date Comment

Array.prototype.indexOf()


Reverting my previous change for var len. Looked up more about >>> and looks like it is valid and probably should be used here to ensure len is a number.

Array.prototype.indexOf()


I don't believe >>> is a valid Javascript operand, I originally thought this was just supposed to be > but that doesn't make sense for len to be a boolean. || in this spot makes the most sense to me.