nzakas / understandinges6

Content for the ebook "Understanding ECMAScript 6"
5.45k stars 796 forks source link

wrong console.log for get symbol properties #351

Closed kuma0605 closed 7 years ago

kuma0605 commented 8 years ago
screen shot 2016-11-03 at 5 20 50 pm

console.log(symbols[0]) return just the symbol Symbol(uid), not string style.

After my investigation, console.log is not a standard api ,so what it output depend on vendors.

stackoverflow

I suppose that maybe you should specify a runtime to be more clear.