mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00
LibJS: Make Array.prototype.push() generic
This commit is contained in:
parent
9f7a6e116a
commit
4334a1b208
Notes:
sideshowbarker
2024-07-19 06:15:23 +09:00
Author: https://github.com/linusg
Commit: 4334a1b208
Pull-request: https://github.com/SerenityOS/serenity/pull/2328
4 changed files with 42 additions and 12 deletions
|
@ -32,6 +32,9 @@
|
|||
#include <LibJS/Forward.h>
|
||||
#include <LibJS/Runtime/Symbol.h>
|
||||
|
||||
// 2 ** 53 - 1
|
||||
static constexpr double MAX_ARRAY_LIKE_INDEX = 9007199254740991.0;
|
||||
|
||||
namespace JS {
|
||||
|
||||
class Value {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue