summaryrefslogtreecommitdiff
path: root/deps/v8/src/builtins/array-of.tq
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/builtins/array-of.tq')
-rw-r--r--deps/v8/src/builtins/array-of.tq6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/src/builtins/array-of.tq b/deps/v8/src/builtins/array-of.tq
index 6434dbc8c8..70fda8d2eb 100644
--- a/deps/v8/src/builtins/array-of.tq
+++ b/deps/v8/src/builtins/array-of.tq
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-namespace array {
+namespace array_of {
// https://tc39.github.io/ecma262/#sec-array.of
transitioning javascript builtin
ArrayOf(implicit context: Context)(receiver: Object, ...arguments): Object {
@@ -39,14 +39,14 @@ namespace array {
// b. Let Pk be ! ToString(k).
// c. Perform ? CreateDataPropertyOrThrow(A, Pk, kValue).
- CreateDataProperty(a, k, kValue);
+ FastCreateDataProperty(a, k, kValue);
// d. Increase k by 1.
k++;
}
// 8. Perform ? Set(A, "length", len, true).
- SetPropertyLength(a, len);
+ array::SetPropertyLength(a, len);
// 9. Return A.
return a;