Merge pull request #724 from maurodibert/patch-12

Update article.md
This commit is contained in:
Ilya Kantor 2019-01-13 20:37:00 +03:00 committed by GitHub
commit 31553694b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -133,7 +133,7 @@ This leads to some interesting usage compared to a "pure, classical, boolean-onl
alert(x); // undefined, because (x = 1) not evaluated alert(x); // undefined, because (x = 1) not evaluated
``` ```
If, instead, the first argument is `false`, `OR` evaluates the second one, thus running the assignment: If, instead, the first argument is `false`, `||` evaluates the second one, thus running the assignment:
```js run no-beautify ```js run no-beautify
let x; let x;