Havvy (Ryan)

成为会员
Havvy

近期活跃的文档

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

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