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

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).