What's the purpose of the +x at the end?
The unary plus implicitly converts an expression to a number, which calls `valueOf` for non-primitive values.
I think to implicitly trigger the valueOf function.
The unary plus implicitly converts an expression to a number, which calls `valueOf` for non-primitive values.