This commit is contained in:
Brent Guffens 2018-01-17 11:35:49 +01:00 committed by GitHub
parent 2c3b1a34e2
commit 0f42ea7b12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,7 +72,7 @@ alert( '6' / '2' ); // 3
## Numeric conversion, unary +
The plus `+` exist in two forms. The binary form that we used above and the unary form.
The plus `+` exists in two forms. The binary form that we used above and the unary form.
The unary plus or, in other words, the plus operator `+` applied to a single value, doesn't do anything with numbers, but if the operand is not a number, then it is converted into it.