When I have underscores in numbers, like this code, it shows an error in the JavaScript editor. Underscores can be used inside numbers in JavaScript to improve readability (developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar).
const x = 123_456;
return x;
Here are the errors when using this code:
After removing the underscore, there are no errors: