es6数组解构报错 财富值65

2016-11-04 12:17发布

var [a,b,c]=[1, 2, 3];  //SyntaxError: Unexpected token [

webstorm已调成es6版本,报错,但是chrome console上可以,为什么?

付费偷看设置
发送
1条回答

node 的版本太低换成最新的 stable

一周热门 更多>