minor fixes

This commit is contained in:
Ilya Kantor 2021-12-13 18:31:50 +03:00
parent 4bd4a746d6
commit 98d590ba4a

View file

@ -254,7 +254,7 @@ To put it clear: `typeof` is an operator, not a function. The parentheses here a
Usually, such parentheses contain a mathematical expression, such as `(2 + 2)`, but here they contain only one argument `(x)`. Syntactically, they allow to avoid a space between the `typeof` operator and its argument, and some people like it. Usually, such parentheses contain a mathematical expression, such as `(2 + 2)`, but here they contain only one argument `(x)`. Syntactically, they allow to avoid a space between the `typeof` operator and its argument, and some people like it.
Some people prefer `typeof(x)`, although the `typeof x` syntax is much more common. So, some people prefer `typeof(x)`, although the `typeof x` syntax is much more common.
``` ```
## Summary ## Summary