You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TypeError: Cannot convert a Symbol value to a number at util.js:398:16 #11659
Platform: Linux richeve-biyaheroes 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Subsystem: util
util.js:398
return !(key >= 0 && key < raw.length);
^
TypeError: Cannot convert a Symbol value to a number
at util.js:398:16
at Array.filter (native)
at formatValue (util.js:397:17)
at formatProperty (util.js:794:15)
at util.js:654:12
at Array.map (native)
at formatObject (util.js:653:15)
at formatValue (util.js:592:16)
at formatProperty (util.js:794:15)
at util.js:654:12
I was experimenting and testing with my module on npm loosen at version 0.9.0
When this code was run, the error above appears. Although it doesn't concern me really, but it bothers me because I was expecting util.inspect to handle things properly.
Activity
addaleax commentedon Mar 2, 2017
Quick reproduction without third-party libraries:
martinakraus commentedon Mar 6, 2017
if nobody is assigned yet i will do!
addaleax commentedon Mar 6, 2017
@CodeKittey This is already being addressed in #11672, sorry… I’m removing the
good first contributionlabel herelpinca commentedon Mar 6, 2017
Fixed by d0b93c9.