mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
Issue #1639 - Implement object.fromEntries()
Adds a self-hosted implementation of this map->object conversion. This resolves #1639.
This commit is contained in:
parent
bc02e9541f
commit
065ef47e65
3 changed files with 21 additions and 2 deletions
|
|
@ -1239,6 +1239,7 @@ static const JSFunctionSpec object_static_methods[] = {
|
|||
JS_FN("isFrozen", obj_isFrozen, 1, 0),
|
||||
JS_FN("seal", obj_seal, 1, 0),
|
||||
JS_FN("isSealed", obj_isSealed, 1, 0),
|
||||
JS_SELF_HOSTED_FN("fromEntries", "ObjectFromEntries", 1, 0),
|
||||
JS_FS_END
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue