Skip to content

console.log("%%") prints only one % #3396

Closed
@adon-at-work

Description

@adon-at-work
console.log("%%");  // prints only one % in console

Expected behavior is to print two % signs
Problem reproducible in v0.12.7 and v0.10.36. But not in v4.2.1

Current Workaround: use process.stdout.write(msg + '\n');
Any chance this bug be patched in v0.12 or older versions? Thanks!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    consoleIssues and PRs related to the console subsystem.ltsIssues and PRs related to Long Term Support releases.utilIssues and PRs related to the built-in util module.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions