Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Havvy (Ryan)

Membro desde
Havvy

Documentos com atividade recente

Ver toda a atividade
Página Data Comentar

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