MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

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.