|
|
|
|
|
by yesbabyyes
5483 days ago
|
|
"@" is an alias for "this.", so "@foo" is the same as "this.foo". {foo} = bar is using destructuring assignment, it means, take property "foo" of bar and put it in variable foo, so {foo} = bar
compiles to var foo = bar.foo;
|
|