1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:28:11 +00:00

LibJS: Update spec numbers for Operations on Objects AOs

The error cause proposal was merged, so some spec numbers were bumped.
This commit is contained in:
Timothy Flynn 2021-12-21 08:27:04 -05:00 committed by Linus Groh
parent 968f6e2432
commit d69f5ca128
6 changed files with 27 additions and 27 deletions

View file

@ -26,7 +26,7 @@ ThrowCompletionOr<Array*> Array::create(GlobalObject& global_object, size_t leng
return array;
}
// 7.3.17 CreateArrayFromList ( elements ), https://tc39.es/ecma262/#sec-createarrayfromlist
// 7.3.18 CreateArrayFromList ( elements ), https://tc39.es/ecma262/#sec-createarrayfromlist
Array* Array::create_from(GlobalObject& global_object, Vector<Value> const& elements)
{
// 1. Assert: elements is a List whose elements are all ECMAScript language values.