| ▲ | aktenlage 7 hours ago | |||||||
What's the purpose of the +x at the end? | ||||||||
| ▲ | undecidabot 7 hours ago | parent | next [-] | |||||||
The unary plus implicitly converts an expression to a number, which calls `valueOf` for non-primitive values. | ||||||||
| ||||||||
| ▲ | emaro 7 hours ago | parent | prev [-] | |||||||
I think to implicitly trigger the valueOf function. | ||||||||
| ||||||||