unaryPlus
+x
unaryPlus(x)
Converts booleans and strings to numbers.
Try it yourself:
$1 | +true
| |
$2 | +"2"
|
Converts booleans and strings to numbers.
Try it yourself:
$1 | +true
| |
$2 | +"2"
|