Merge pull request #1087 from DouglasMV/fixes

Fixes
This commit is contained in:
Ilya Kantor 2019-06-27 08:49:54 +03:00 committed by GitHub
commit 5d1a8ff3c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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: