add destructuring support

This commit is contained in:
Sebastian McKenzie
2014-09-29 18:29:08 +10:00
parent dbf25a82ee
commit 0e19006641
15 changed files with 140 additions and 4 deletions

View File

@@ -0,0 +1 @@
var { x, y } = coords;

View File

@@ -0,0 +1,2 @@
var x = coords.x;
var y = coords.y;