up
This commit is contained in:
parent
d1a0659aba
commit
b6ed18e70d
2 changed files with 2 additions and 2 deletions
|
@ -441,7 +441,7 @@ function showMenu(*!*{title = "Untitled", width = 200, height = 100, items = []}
|
||||||
showMenu(options);
|
showMenu(options);
|
||||||
```
|
```
|
||||||
|
|
||||||
We can also use the more complex destructuring with nestings and colon mappings:
|
We can also use more complex destructuring with nested objects and colon mappings:
|
||||||
|
|
||||||
```js run
|
```js run
|
||||||
let options = {
|
let options = {
|
||||||
|
|
|
@ -22,7 +22,7 @@ let timer = setInterval(function() {
|
||||||
}, 1000 / fps)
|
}, 1000 / fps)
|
||||||
```
|
```
|
||||||
|
|
||||||
The more complete example of the animation:
|
More complete example of the animation:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
let start = Date.now(); // remember start time
|
let start = Date.now(); // remember start time
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue