1
0
Fork 0
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:
Linus Groh 2020-05-22 13:20:53 +01:00 committed by Andreas Kling
parent 9f7a6e116a
commit 4334a1b208
Notes: sideshowbarker 2024-07-19 06:15:23 +09:00
4 changed files with 42 additions and 12 deletions

View file

@ -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 {