Matthew Olsson
|
78155a6668
LibJS: Consolidate error messages into ErrorTypes.h
|
5 vuotta sitten |
Andreas Kling
|
053863f35e
LibJS: Interpreter::this_value() => this_value(GlobalObject&)
|
5 vuotta sitten |
Matthew Olsson
|
dd08c992e8
LibJS: Simplify and normalize publicly-exposed Object functions
|
5 vuotta sitten |
Linus Groh
|
eb72ba2466
LibJS: Remove is_nan() check in as_size_t() and fix to_size_t()
|
5 vuotta sitten |
Linus Groh
|
36996bd720
LibJS: Rename to_{i32,size_t}() to as_{i32,size_t}() for clarity
|
5 vuotta sitten |
Linus Groh
|
476094922b
LibJS: Pass Interpreter& to Value::to_number() et al.
|
5 vuotta sitten |
Linus Groh
|
1a1394f7a2
LibJS: Change Value::to_object(Heap& -> Interpreter&)
|
5 vuotta sitten |
Linus Groh
|
71ec72bddf
LibJS: Simplify various StringPrototype functions
|
5 vuotta sitten |
Andreas Kling
|
c6ddbd1f3e
LibJS: Add side-effect-free version of Value::to_string()
|
5 vuotta sitten |
Linus Groh
|
f39c7c2978
LibJS: Use String::trim_whitespace() for String.prototype.trim*()
|
5 vuotta sitten |
Kesse Jones
|
6dbb5df81f
LibJS: Add String.prototype.lastIndexOf
|
5 vuotta sitten |
Linus Groh
|
8159f45f6e
LibJS: Make String.prototype.slice() generic
|
5 vuotta sitten |
Linus Groh
|
cfdb7b8806
LibJS: Make (most) String.prototype functions generic
|
5 vuotta sitten |
Kesse Jones
|
58f6f50de4
LibJS: Add String.prototype.slice
|
5 vuotta sitten |
Andreas Kling
|
698652a548
LibJS: Make Value::as_string() return a PrimitiveString reference
|
5 vuotta sitten |
Andreas Kling
|
75f246dde8
LibJS: Make StringObject::primitive_string() return a reference
|
5 vuotta sitten |
mattco98
|
23ec578a01
LibJS: Implement correct attributes for (almost) all properties
|
5 vuotta sitten |
Kesse Jones
|
838127df35
LibJS: Add String.prototype.includes
|
5 vuotta sitten |
Linus Groh
|
a893c6ff0d
LibJS: Throw RangeError in String.prototype.repeat() if count is invalid
|
5 vuotta sitten |
Linus Groh
|
71d6459b7f
LibJS: Use AK::String::index_of() for StringPrototype::index_of()
|
5 vuotta sitten |
Andreas Kling
|
fca08bd000
LibJS: Move builtin prototypes to the global object
|
5 vuotta sitten |
Andreas Kling
|
298c606200
LibJS: Pass prototype to StringObject constructor
|
5 vuotta sitten |
Kesse Jones
|
b0b204822f
LibJS: Add String.prototype.substring
|
5 vuotta sitten |
Kesse Jones
|
7725b1970e
LibJS: Add String.prototype.concat
|
5 vuotta sitten |
Andreas Kling
|
9b9086dcf0
LibJS: Oops, fix StringPrototype build
|
5 vuotta sitten |
Andreas Kling
|
1108dd1659
LibJS: Add some missing |this| checks in StringPrototype
|
5 vuotta sitten |
Kesse Jones
|
994f1a79ad
LibJS: Add String.prototype.{trim, trimStart, trimEnd} (#1792)
|
5 vuotta sitten |
Linus Groh
|
31505dde7e
LibJS: Add String.prototype.pad{Start,End}()
|
5 vuotta sitten |
Linus Groh
|
32c27afdf0
LibJS: Add String.prototype.toString()
|
5 vuotta sitten |
Andreas Kling
|
070a8f2689
LibJS: Boolean, Number and String prototypes should have values too
|
5 vuotta sitten |