mirror of
https://github.com/RGBCube/serenity
synced 2025-10-24 14:42:36 +00:00
In the spec, this happens in the EvaluateCall abstract operation (https://tc39.es/ecma262/#sec-evaluatecall), and the order is defined as: 3. Let argList be ? ArgumentListEvaluation of arguments. 4. If Type(func) is not Object, throw a TypeError exception. 5. If IsCallable(func) is false, throw a TypeError exception. In LibJS this is handled by CallExpression::execute(), which had the callee function check first and would therefore never evaluate the arguments for a non-function callee. |
||
|---|---|---|
| .. | ||
| arrow-functions.js | ||
| constructor-basic.js | ||
| function-default-parameters.js | ||
| function-destructuring-parameters.js | ||
| function-duplicate-parameters.js | ||
| function-evaluation-order.js | ||
| function-hoisting.js | ||
| function-length.js | ||
| function-missing-arg.js | ||
| function-name.js | ||
| function-nesting.js | ||
| function-new-target.js | ||
| function-prototype-writable.js | ||
| function-rest-params.js | ||
| function-spread.js | ||
| function-strict-mode.js | ||
| function-this-in-arguments.js | ||
| function-TypeError.js | ||