util: escaping object keys in util.inspect()
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 34.9k
Closed
Closed
Labels
Description
opened
on Nov 13, 2017- 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
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests
Issue actions