Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guoyongfeng/es6-demo
ES6 学习示例demo
https://github.com/guoyongfeng/es6-demo
Last synced: 1 day ago
JSON representation
ES6 学习示例demo
- Host: GitHub
- URL: https://github.com/guoyongfeng/es6-demo
- Owner: GuoYongfeng
- License: mit
- Created: 2016-04-10T07:39:23.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-04-10T15:17:27.000Z (over 8 years ago)
- Last Synced: 2024-05-28T00:29:57.442Z (7 months ago)
- Language: JavaScript
- Size: 22.5 KB
- Stars: 6
- Watchers: 4
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `ES6`学习示例
> 配套内容讲义请前往:http://guoyongfeng.github.io/idoc
## 1.How To Use
```
# 下载
$ git clone [email protected]:GuoYongfeng/es6-demo.git
# 安装依赖
$ cd es6-demo && npm install
# 启动
$ npm run dev
```## 2.Tabel Of Content
### demo1:let-and-const
- let块级作用域
- const恒量定义### demo2:destructuring
对象、数组的解构赋值
### demo3:template-string
字符串模板
### demo4:arrow-function
箭头函数以及函数传参的默认值
### demo5:spread
spread 展开操作符
### demo6:rest
rest 剩余操作符
### demo7:object
- Object.is()
- Object.assign()
- super
- __proto__### demo8:generator
generators
### demo9:class
- class
- get
- set
- static
- extends### demo10:modules
- import
- export## 3.LICENSE
The MIT License (MIT)
Copyright (c) 2016 GuoYongfeng