import from UXP: Issue #1996 - Implement at() method on built-in indexables. (59cf6bd8)

This commit is contained in:
2022-09-01 11:09:49 +08:00
parent 3131767180
commit e42cb3f2ac
6 changed files with 112 additions and 1 deletions
+3
View File
@@ -3171,6 +3171,9 @@ static const JSFunctionSpec array_methods[] = {
JS_SELF_HOSTED_FN("flat", "ArrayFlat", 0,0),
JS_SELF_HOSTED_FN("flatMap", "ArrayFlatMap", 1,0),
/* ES2022 additions */
JS_SELF_HOSTED_FN("at", "ArrayAt", 1,0),
JS_FS_END
};