-
With Babel it's relatively simple to adopt ES6 now, and that would remove a lot of code from our JS code bases:
- replace AMD with imports
- replace prototype generation patterns with ES6 classes
-…
Akron updated
4 months ago
-
hello olivier
trying the new es6 branch
downloaded the zip and running npm install i have kerberos building fail...
```
> kerberos@0.0.18 install /home/sylvain/Documents/projets/git/StreamStudio/no…
-
-
-it would be an awesome idea if es6 intro could be included
-
- [ ] 環境開発
- [x] Webpackを入れる
- [x] TypeScriptバンドルテスト -> JavaScriptとして出力されるようにする
- [x] TypeScriptの型定義ファイルを出力する
- [ ] リアルタイムWatch、Indexができないので調べる
- [ ] CSSをバンドルする -> ratingStar.css 的なものを出…
-
What is the easiest way to use this in a ES6 module environment that does not rely on webpack if at all possible?
-
support es6 with babel. This would also support vanilla js if one opts out of coffee.
-
## 学习环境安装
`注意:最新的谷歌和火狐浏览器可以直接解析了,不需要安装也可以【2018年3月16日10:24:11】`
1、**安装nodeJS**
2、桌面**新建文件夹为esDemo**【(位置随意)我个人喜欢临时文件放到桌面上】
3、**新建package.json**
npm init 输入相关你想自定义的东西
![tim 20171025111641…
-
it would be nice to start using const and let at least, but there are other interesting es6 features that could be used here, users can still use old versions of the macho module if they are using an …
-
### 函数
1. 参数默认值
```js
function log(x, y = 0) {
console.log(x, y);
}
// undefined才能触发函数默认值
log(1) // 1, 0
log(1, undefined) // 1, 0
log(1, 2) // 1, 2
log(1, null) // 1, null
```
2. 参数…