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.

disccomp

Member since
disccomp

Recent Docs Activity

View all activity
Page Date Comment

Array.prototype.filter()


Found that the example filter failed if id = 0. 'id' in obj or hasOwnProperty are better options, I think, and !isNaN(obj.id).