On 12/7/21 8:10 PM, Gabriel Ivăncescu wrote:
Signed-off-by: Gabriel Ivăncescugabrielopcode@gmail.com
I kept the check in Object_toString, because that's what the spec says and special cases before calling to_object, and it's changed from version ES3 to ES5.
If 'this' is always an object in ES3, then how is it possible to reach this this condition? There is similar case in Error.toString in patch 4.
Thanks,
Jacek