ES6 对象中的方法:使用箭头函数
作者:fox 提问时间:6/28/2015
在 ES6 中,这两者都是合法的: var chopper = { owner: 'Zed', getOwner: function() { return this.owner; } }; ...
ecmascript-harmony 问答列表
作者:fox 提问时间:6/28/2015
在 ES6 中,这两者都是合法的: var chopper = { owner: 'Zed', getOwner: function() { return this.owner; } }; ...
作者:fox 提问时间:6/28/2015
在 ES6 中,这两者都是合法的: var chopper = { owner: 'Zed', getOwner: function() { return this.owner; } }; ...
作者:fox 提问时间:6/28/2015
在 ES6 中,这两者都是合法的: var chopper = { owner: 'Zed', getOwner: function() { return this.owner; } }; ...