by pleoxy · 3y ago · 0 comments
const y = +x + 12;
Will be number addition even if x is a string.
const y = Number(x) + 12