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)

年加入本站
Havvy

最近在 Docs 的活動

檢視所有活動
頁面 日期 回應

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