-
-
Notifications
You must be signed in to change notification settings - Fork 32.9k
Closed
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.consoleIssues and PRs related to the console subsystem.Issues and PRs related to the console subsystem.
Description
- Version: v10.6.0
- Platform: Mac OS 10.13.6
- Subsystem: console
Suppose we used console.log as follows:
console.log('I\'m trying to escape', false);
console.log(false, 'I\'m trying to escape');
This will then output the following:
I'm trying to escape false
false 'I\'m trying to escape'
As can be seen the backslash is treated differently between lines.
Also in the actual shell, the colouring is not present in the first line, but is present in the second line.
(boolean is yellow and string is green)
Is this by design or a bug?
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.consoleIssues and PRs related to the console subsystem.Issues and PRs related to the console subsystem.