13 ms·
Or via the Number constructor: const y = Number(x) + 12 Depending on your audience, that might be clearer in intent than `+x`.
by WorldMaker 3y ago
Or via the Number constructor:
const y = Number(x) + 12
Depending on your audience, that might be clearer in intent than `+x`.