mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-29 11:00:29 +00:00
LibJS: Do s/define_property/define_direct_property/ in a comment
This commit is contained in:
parent
0ba81dc0b7
commit
30615ac2bb
Notes:
sideshowbarker
2024-07-18 10:18:04 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ void ArrayPrototype::initialize(GlobalObject& global_object)
|
|||
define_native_function(vm.names.entries, entries, 0, attr);
|
||||
define_native_function(vm.names.copyWithin, copy_within, 2, attr);
|
||||
|
||||
// Use define_property here instead of define_native_function so that
|
||||
// Use define_direct_property here instead of define_native_function so that
|
||||
// Object.is(Array.prototype[Symbol.iterator], Array.prototype.values)
|
||||
// evaluates to true
|
||||
// 23.1.3.33 Array.prototype [ @@iterator ] ( ), https://tc39.es/ecma262/#sec-array.prototype-@@iterator
|
||||
|
|
Loading…
Reference in a new issue