Open caeus opened 1 year ago
We generate objects with null
as the prototype using Object.create(null)
to prevent potential security vulnerabilities with prototype pollution. The lack of .toString
is a side effect of this. I don' think it's a major issue given that the output of .toString
would not be very useful anyway.
That's quite the unexpected behavior!