Closed
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?