1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 18:15:08 +00:00
serenity/Userland/Libraries/LibJS/Tests/builtins/Function
Linus Groh 7d521b7c7c LibJS: Implement Function.prototype.toString() according to the spec
That's an old yak :^)
No, past me, AST nodes do not need to learn to stringify themselves.
This is now massively simplified by using the [[SourceText]] internal
slot.

Also updates a bunch of tests that are incorrect due to the old
implementation not being spec compliant, and add plenty more.
2022-01-19 20:33:08 +00:00
..
Function.js LibJS: Implement Function.prototype.toString() according to the spec 2022-01-19 20:33:08 +00:00
Function.prototype.@@hasInstance.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Function.prototype.apply.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Function.prototype.bind.js LibJS: Change wording of ErrorType::NotA to be independent of context 2021-09-12 00:16:39 +02:00
Function.prototype.call.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Function.prototype.toString.js LibJS: Implement Function.prototype.toString() according to the spec 2022-01-19 20:33:08 +00:00