mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-28 21:32:20 +00:00
修订错误
This commit is contained in:
commit
cb9bccc2a6
@ -6,6 +6,7 @@ ES6引入了Class(类)这个概念,作为对象的模板。通过class关
|
||||
|
||||
```javascript
|
||||
|
||||
//定义类
|
||||
class Point {
|
||||
|
||||
constructor(x, y) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user