I was just going through the source code of particles.js and came across the following line of code:
this.speed.x = +((-options.maxSpeedX / 2) +
(Math.random() * options.maxSpeedX)).toFixed(2);
That line of code can be found HERE too.
Now the + sign right at the beginning of the expression has no difference in the equation. E.g.
(-2 + 5) = 3
Now...
+(-2 + 5) = 3
Another example:
(-5 + 2) = -3
Now..
+(-5 + 2) = -3
Why the plus sign at the beginning of the expression when it makes no difference to the outcome of the equation?