Havvy (Ryan)

成为会员

近期活跃的文档

查看所有活动
页面 日期 评论

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


Firefox 40 for developers


Typo: mostley -> mostly