diff options
author | Thomas Groman <tgroman@nuegia.net> | 2021-04-27 13:46:46 -0700 |
---|---|---|
committer | Thomas Groman <tgroman@nuegia.net> | 2021-04-27 13:46:46 -0700 |
commit | bdd6513d0f37d075e9b3b11058b9cf6fcdf5055f (patch) | |
tree | eebab5128efbec1a555d443bac04f4dbd4241987 /js/src/builtin/Object.cpp | |
parent | 702b3bf53ac4d7e3d483c9b12123235ba83c5395 (diff) | |
download | UXP-bdd6513d0f37d075e9b3b11058b9cf6fcdf5055f.tar UXP-bdd6513d0f37d075e9b3b11058b9cf6fcdf5055f.tar.gz UXP-bdd6513d0f37d075e9b3b11058b9cf6fcdf5055f.tar.lz UXP-bdd6513d0f37d075e9b3b11058b9cf6fcdf5055f.tar.xz UXP-bdd6513d0f37d075e9b3b11058b9cf6fcdf5055f.zip |
Add object-from-entrieswebbrowser
Uriel was right
Diffstat (limited to 'js/src/builtin/Object.cpp')
-rw-r--r-- | js/src/builtin/Object.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/src/builtin/Object.cpp b/js/src/builtin/Object.cpp index bfcc8d20e..d3001b69e 100644 --- a/js/src/builtin/Object.cpp +++ b/js/src/builtin/Object.cpp @@ -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 }; |