1
0
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:
Ruan YiFeng 2016-09-06 23:50:25 +08:00 committed by GitHub
commit 3ec293796c

View File

@ -66,7 +66,7 @@ class Bar {
var b = new Bar();
b.doStuff() // "stuff"
```
.ant-menu-horizontal > li.ant-menu-item
构造函数的`prototype`属性在ES6的“类”上面继续存在。事实上类的所有方法都定义在类的`prototype`属性上面。
```javascript