obj.toString() should be "[object Object]" S8.6.2_A3 #729
Labels
bug
Something isn't working
builtins
PRs and Issues related to builtins/intrinsics
E-Easy
Easy
good first issue
Good for newcomers
Hacktoberfest
Hacktoberfest 2021 - https://hacktoberfest.digitalocean.com
Milestone
During Test262 we have https://github.com/tc39/test262/blob/master/test/language/types/object/S8.6.2_A3.js failing.
You can test this by setting your js file to...
The output should be "[object Object]"
The issue here is we're using the internal display rather than what the JS developer should be seeing.
https://github.com/boa-dev/boa/blob/master/boa/src/builtins/object/mod.rs#L120 could be changed to "[object Object]"
We will need to implement a way for us to debug the insides of objects, but this should be left to another method, like
print()
etcContributing: https://github.com/boa-dev/boa/blob/master/CONTRIBUTING.md
Debugging: https://github.com/boa-dev/boa/blob/master/docs/debugging.md
The text was updated successfully, but these errors were encountered: