en.javascript.info icon indicating copy to clipboard operation
en.javascript.info copied to clipboard

Punctuation Mistake in javascript.info/operators > Task 3 > Solution > 7.

Open portdeveloper opened this issue 3 years ago • 0 comments

Space characters, are trimmed off string start and end when a string is converted to a number. Here the whole string consists of space characters, such as \t, \n and a “regular” space between them. So, similarly to an empty string, it becomes 0.

"Space characters, are trimmed off string..."

The comma after the word "characters" should not be there.

portdeveloper avatar Jul 11 '22 06:07 portdeveloper