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.

Havvy (Ryan)

Member since
Havvy

Recent Docs Activity

View all activity
Page Tarix Comment

Using XMLHttpRequest


Switch alert() for console.log()

WeakMap


"Maintain it yourself" basically boils down to "Use a Map" because keeping the list keeps strong references right now. Should JS ever get weak refs for values, then being more generic would be more useful.

String.prototype.charAt()


ECMAScript 2016 has destructuring assignment, no need to care about "JavaScript 1.7+".

flex-basis


Using CSS Flexible Boxes