Nov 13, 2026·9 min readYour test says 1 234 does not equal 1 234toLocaleString groups French numbers with a narrow no-break space, not a normal one. The two strings print the same, fail ===, and the obvious fix turns 1234.5 into 1 without throwing.#javascript#typescript#nodejs#i18n#debugging