mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Implement NamedPropertyHandler API to ObjectTemplate
Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
773007bec6
commit
25588dcb01
37 changed files with 831 additions and 254 deletions
|
|
@ -1110,7 +1110,7 @@ Value Object::call(ExecutionState& state, const Value& callee, const Value& this
|
|||
}
|
||||
|
||||
// https://www.ecma-international.org/ecma-262/10.0/#sec-construct
|
||||
Object* Object::construct(ExecutionState& state, const Value& constructor, const size_t argc, NULLABLE Value* argv, Object* newTarget)
|
||||
Value Object::construct(ExecutionState& state, const Value& constructor, const size_t argc, NULLABLE Value* argv, Object* newTarget)
|
||||
{
|
||||
// If newTarget was not passed, let newTarget be F.
|
||||
if (newTarget == nullptr) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue