Skip to content

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

Closed
@portdeveloper

Description

@portdeveloper

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions