ladybird/Userland/Libraries/LibJS/Tests/builtins/Function
Linus Groh e8519156bc LibJS: Implement create_dynamic_function() according to the spec
The three major changes are:

- Parsing parameters, the function body, and then the full assembled
  function source all separately. This is required by the spec, as
  function parameters and body must be valid each on their own, which
  cannot be guaranteed if we only ever parse the full function.
- Returning an ECMAScriptFunctionObject instead of a FunctionExpression
  that needs to be evaluated separately. This vastly simplifies the
  {Async,AsyncGenerator,Generator,}Function constructor implementations.
  Drop '_node' from the function name accordingly.
- The prototype is now determined via GetPrototypeFromConstructor and
  passed to OrdinaryFunctionCreate.
2022-01-16 01:54:48 +01:00
..
Function.js LibJS: Implement create_dynamic_function() according to the spec 2022-01-16 01:54:48 +01: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: Change non-ScriptFunction source string to "[native code]" 2021-03-14 19:22:16 +01:00