mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-28 21:32:20 +00:00
Merge pull request #257 from jerossh/patch-3
.ant-menu-horizontal > li.ant-menu-item
This commit is contained in:
commit
3ec293796c
@ -66,7 +66,7 @@ class Bar {
|
|||||||
var b = new Bar();
|
var b = new Bar();
|
||||||
b.doStuff() // "stuff"
|
b.doStuff() // "stuff"
|
||||||
```
|
```
|
||||||
.ant-menu-horizontal > li.ant-menu-item
|
|
||||||
构造函数的`prototype`属性,在ES6的“类”上面继续存在。事实上,类的所有方法都定义在类的`prototype`属性上面。
|
构造函数的`prototype`属性,在ES6的“类”上面继续存在。事实上,类的所有方法都定义在类的`prototype`属性上面。
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
Loading…
x
Reference in New Issue
Block a user