10

TIL that you can use underscores as a decorative numeric separator in ES 2021 like

const FOURTY_FIVE_MILLION = 45_000_000;

I learned this from some shitty advertisement on a Minecraft economy server where I thought the little shit was just trying to be techy.

Luckily I wasn't actually rude to him because then I would have looked like an ass.

Comments
Add Comment