JavaScript Style Guide 学习笔记
如果有时间请大家阅读原文 地址:https://github.com/airbnb/javascript
跳过一些常见的问题,以下觉得自己需要注意的点:
3.2Use computed property names when creating objects with dynamic property names.
Why? They allow you to define all th...
转载
2019-07-05 15:57:27 ·
340 阅读 ·
0 评论