@webqit/subscript
Advanced tools
Comparing version 2.0.22 to 2.0.23
@@ -11,3 +11,3 @@ { | ||
"homepage": "https://webqit.io/tooling/subscript", | ||
"version": "2.0.22", | ||
"version": "2.0.23", | ||
"license": "MIT", | ||
@@ -14,0 +14,0 @@ "repository": { |
@@ -252,2 +252,10 @@ # Subscript | ||
And ES6 syntax niceties can come in anywhere. | ||
```js | ||
let { username, profile: { avatar: avatarUrl } } = candidate; | ||
``` | ||
*And that's essentially two variables declared up there: `username` and `avatarUrl`! And while `username` is bound to `candidate.username`, `avatarUrl` is bound to `candidate.profile.avatar`. Each gets updated independent of the other; in sync with their own binding. (But a thread event for their common root object - `candidate` - gets both variables updated.)* | ||
### Conditionals And Logic | ||
@@ -254,0 +262,0 @@ |
3505748
1053