🍃このブログは移転しました。
3秒後、自動的に移動します・・・。

2016-08-30から1日間の記事一覧

Object Rest/Spread Propertiesの気になる挙動

Object Rest/Spread Properties この記事を書いてる時点でStage 2。 // Rest properties let { x, y, ...z } = { x: 1, y: 2, a: 3, b: 4 }; console.log(x); // 1 console.log(y); // 2 console.log(z); // { a: 3, b: 4 } // Spread properties let n = { …