Plus sign before numbers in JavaScript

Just as negative numbers are preceded by the "minus" sign, positive numbers can be preceded by the "plus" sign.

In fact, this plus does nothing, but it is quite valid, see an example:

let a = +1; alert(a); // shows 1
enru