We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This should be an easy one.. String has a [[Construct]] method which returns a string instance. This is working fine. The [[Call]] version should return a native string. https://github.com/jasonwilliams/boa/blob/master/src/lib/js/string.rs#L529-L532
For inspiration, see how Boolean works: https://github.com/jasonwilliams/boa/blob/master/src/lib/js/boolean.rs#L53-L54
It might be hard to test for now, as the executor currently doesn't use [[Call]]
https://tc39.es/ecma262/#sec-string-constructor-string-value
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This should be an easy one..
String has a [[Construct]] method which returns a string instance. This is working fine.
The [[Call]] version should return a native string.
https://github.com/jasonwilliams/boa/blob/master/src/lib/js/string.rs#L529-L532
For inspiration, see how Boolean works:
https://github.com/jasonwilliams/boa/blob/master/src/lib/js/boolean.rs#L53-L54
It might be hard to test for now, as the executor currently doesn't use [[Call]]
Spec
https://tc39.es/ecma262/#sec-string-constructor-string-value
The text was updated successfully, but these errors were encountered: