{"push_id":920940205,"size":2,"distinct_size":2,"ref":"refs/heads/gh-pages","head":"f466170c41056db30175247c6d773ab215468c5e","before":"97ab533f2cba2774e02fc9f80865573018249787","commits":[{"sha":"06e16fe5290a1cc2b674dcca45c1e7f549ce46b8","author":{"email":"55a94f4b4b689aff9e3c96d99a562eaef1335fb0@163.com","name":"yuwei"},"message":"修改扩展运算符应用5的写法错误\n\n详情以及建议见 https://github.com/ruanyf/es6tutorial/issues/111。\r\n\r\n\r\n5）类似数组的对象\r\n\r\n任何类似数组的对象，都可以用扩展运算符转为真正的数组。\r\n\r\nvar nodeList = document.querySelectorAll('div');\r\nvar array = [...nodeList];\r\n这里明显有问题，对于扩展运算符，只能对于可遍历（iterable）的对象\r\n\r\nMDN\r\nThe spread operator allows an expression to be expanded in places where multiple arguments (for function calls) or multiple elements (for array literals) are expected.","distinct":true,"url":"https://api.github.com/repos/ruanyf/es6tutorial/commits/06e16fe5290a1cc2b674dcca45c1e7f549ce46b8"},{"sha":"f466170c41056db30175247c6d773ab215468c5e","author":{"email":"c3805de7ac46b14b9a8c4dd5417eba9b4edc8417@gmail.com","name":"Ruan YiFeng"},"message":"Merge pull request #112 from SimplyY/patch-3\n\n修改扩展运算符应用5的写法错误","distinct":true,"url":"https://api.github.com/repos/ruanyf/es6tutorial/commits/f466170c41056db30175247c6d773ab215468c5e"}]}