1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-28 21:32:20 +00:00

修订错误

This commit is contained in:
ruanyf 2014-05-03 14:13:42 +08:00
commit cb9bccc2a6

View File

@ -6,6 +6,7 @@ ES6引入了Class这个概念作为对象的模板。通过class关
```javascript ```javascript
//定义类
class Point { class Point {
constructor(x, y) { constructor(x, y) {