Skip to content

Commit

Permalink
adjust after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Sep 22, 2024
1 parent d7f9f4e commit b5cf850
Show file tree
Hide file tree
Showing 2 changed files with 611 additions and 998 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -471,14 +471,14 @@ static boolean validateAndApplyPropertyDescriptor(
*/
static boolean isConstructor(Object argument) {
/*
The abstract operation IsConstructor takes argument argument (an ECMAScript language value).
It determines if argument is a function object with a [[Construct]] internal method.
It performs the following steps when called:
The abstract operation IsConstructor takes argument argument (an ECMAScript language value).
It determines if argument is a function object with a [[Construct]] internal method.
It performs the following steps when called:
1. If Type(argument) is not Object, return false.
2. If argument has a [[Construct]] internal method, return true.
3. Return false.
*/
1. If Type(argument) is not Object, return false.
2. If argument has a [[Construct]] internal method, return true.
3. Return false.
*/

// Found no good way to implement this based on the spec.
// Therefor I did this as first step - this only supports Lambda based method declarations.
Expand Down
Loading

0 comments on commit b5cf850

Please # to comment.