util: escaping object keys in util.inspect()
-
-
Notifications
You must be signed in to change notification settings - Fork 35.7k
Closed
Closed
Labels
Description
opened
- Version: v4–v10
- Platform: Windows 7 x64
- Subsystem: util
'use strict'; console.log({ '\\n': '\\n' });
{ '\n': '\\n' }Is it OK that we escape values here, but do not escape keys?
Metadata
Metadata
Assignees
No one assigned
Labels
Type
No type
Fields
No fields configured for issues without a type.
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests