Skip to content

Instantly share code, notes, and snippets.

@jasonm
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasonm/86a4e837808b77e1eeab to your computer and use it in GitHub Desktop.
Save jasonm/86a4e837808b77e1eeab to your computer and use it in GitHub Desktop.
~/dev/es6exp $ ./node_modules/babel/bin/babel-node
> var { op: a } = { op: 5 };
undefined
> a
5 // this makes sense to me
> var [a=1] = [];
undefined
> a
{ op: 5 } // where did this come from?
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment