mirror of
https://github.com/roytam1/basilisk55.git
synced 2026-06-24 09:29:00 +00:00
import from UXP: JS - support for Array.prototype.values() (f8591643)
This commit is contained in:
@@ -3147,9 +3147,7 @@ static const JSFunctionSpec array_methods[] = {
|
||||
JS_SELF_HOSTED_SYM_FN(iterator, "ArrayValues", 0,0),
|
||||
JS_SELF_HOSTED_FN("entries", "ArrayEntries", 0,0),
|
||||
JS_SELF_HOSTED_FN("keys", "ArrayKeys", 0,0),
|
||||
#ifdef NIGHTLY_BUILD
|
||||
JS_SELF_HOSTED_FN("values", "ArrayValues", 0,0),
|
||||
#endif
|
||||
|
||||
/* ES7 additions */
|
||||
JS_SELF_HOSTED_FN("includes", "ArrayIncludes", 2,0),
|
||||
|
||||
Reference in New Issue
Block a user