Remix.run Logo
▲ 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.

▲aktenlage an hour ago | parent [-]

Thank you

▲emaro 7 hours ago | parent | prev [-]

I think to implicitly trigger the valueOf function.

▲aktenlage an hour ago | parent [-]

Thank you