commit
5d1a8ff3c0
2 changed files with 2 additions and 2 deletions
|
@ -274,7 +274,7 @@ let {width = prompt("width?"), title = prompt("title?")} = options;
|
|||
*/!*
|
||||
|
||||
alert(title); // Menu
|
||||
alert(width); // (whatever you the result of prompt is)
|
||||
alert(width); // (whatever the result of prompt is)
|
||||
```
|
||||
|
||||
We also can combine both the colon and equality:
|
||||
|
|
|
@ -49,7 +49,7 @@ To create a new `Date` object call `new Date()` with one of the following argume
|
|||
```
|
||||
|
||||
`new Date(year, month, date, hours, minutes, seconds, ms)`
|
||||
: Create the date with the given components in the local time zone. Only two first arguments are obligatory.
|
||||
: Create the date with the given components in the local time zone. Only the first two arguments are obligatory.
|
||||
|
||||
Note:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue