mirror of
https://github.com/roytam1/basilisk55.git
synced 2026-06-23 00:48:28 +00:00
import from UXP: Issue #1996 - Implement at() method on built-in indexables. (59cf6bd8)
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user