mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:37:35 +00:00
LibJS: Implement the CreateListFromArrayLike() abstract operation
We already have two separate implementations of this, so let's do it properly. The optional value type check is done by a callback function that returns Result<void, ErrorType> - value type accepted or message for TypeError, that is.
This commit is contained in:
parent
5da94b30eb
commit
ad7aa05cc6
3 changed files with 36 additions and 0 deletions
|
@ -111,6 +111,7 @@ class Cell;
|
|||
class Console;
|
||||
class DeferGC;
|
||||
class Error;
|
||||
class ErrorType;
|
||||
class Exception;
|
||||
class Expression;
|
||||
class Accessor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue