fixes
This commit is contained in:
parent
b0d39f8568
commit
e9ded79b03
3 changed files with 28 additions and 28 deletions
|
@ -5,7 +5,7 @@ This book is a *tutorial*. It aims to help you gradually learn the language. But
|
|||
|
||||
## Specification
|
||||
|
||||
**The ECMA-262 specification** contains the most in-depth, detailed and formalized information about JavaScript. It defines the language.
|
||||
[The ECMA-262 specification](https://www.ecma-international.org/publications/standards/Ecma-262.htm) contains the most in-depth, detailed and formalized information about JavaScript. It defines the language.
|
||||
|
||||
But being that formalized, it's difficult to understand at first. So if you need the most trustworthy source of information about the language details, the specification is the right place. But it's not for everyday use.
|
||||
|
||||
|
|
|
@ -149,7 +149,7 @@ Conditional
|
|||
: The only operator with three parameters: `cond ? resultA : resultB`. If `cond` is truthy, returns `resultA`, otherwise `resultB`.
|
||||
|
||||
Logical operators
|
||||
: Logical AND `&&` and OR `||` perform short-circuit evaluation and then return the value where it stopped. Logical NOT `!` converts the operand to boolean type and returns the inverse value.
|
||||
: Logical AND `&&` and OR `||` perform short-circuit evaluation and then return the value where it stopped (not necessary `true`/`false`). Logical NOT `!` converts the operand to boolean type and returns the inverse value.
|
||||
|
||||
Comparisons
|
||||
: Equality check `==` for values of different types converts them to a number (except `null` and `undefined` that equal each other and nothing else), so these are equal:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue