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

robbiejaeger

Member since
robbiejaeger

Recent Docs Activity

View all activity
Page Date Comment

Array.prototype.filter()


The original page used a named function callback that was outside of the filter prototype. This can be confusing for people introduced to array prototypes for the first time. This example shows a more typical array prototype pattern.

Array.prototype.filter()


The introductory example at the top of the page uses a named callback function that is extracted outside of the filter prototype.