DEV Community

Discussion on: JavaScript/Typescript Tips compilation 2021🚀

Collapse
 
zulvkr profile image
zulvkr

A counter argument.

I feel + for number conversion is extremely common in JS and readable. The behavior meets expectation well, it can be float or integer when I don't care.

It looks intentful, since everyone know JS type coercion.

I will give code a pass.