1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 19:05:07 +00:00
serenity/Libraries/LibJS/Tests/builtins
Marcin Gasperowicz b24ce0b5ee LibJS: Implement String.prototype.split
This adds a String.prototype.split implementation modelled after 
ECMA262 specification. 

Additionally, `Value::to_u32` was added as an implementation of
the standard `ToUint32` abstract operation.

There is a tiny kludge for when the separator is an empty string. 
Basic tests and visiting google.com prove that this is working.
2021-01-10 21:27:59 +01:00
..
Array Everywhere: Fix more typos 2020-12-31 01:47:41 +01:00
ArrayBuffer LibJS: Add Float{32,64}Array 2020-12-05 23:52:17 +01:00
BigInt LibCrypto+LibJS: Fix broken subtraction of two negative signed bigints 2021-01-07 08:57:37 +01:00
Boolean LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Date Base+LibJS+LibWeb: Make prettier clean 2020-12-27 21:25:27 +01:00
Error LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Function LibJS: Tweak generated source in 'new Function()' to match ES 2015 spec 2020-10-29 22:27:55 +01:00
functions LibJS: Split isNaN tests into multiple sections 2020-07-06 23:40:35 +02:00
Infinity LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
JSON LibJS: Handle getter exception in JSONObject::serialize_json_property() 2020-09-19 14:17:22 +02:00
Math LibJS: Uncomment the tests that pass now 2020-12-29 13:43:16 +01:00
NaN LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Number LibJS: Add Number.prototype.toString 2020-07-15 18:24:55 +02:00
Object LibJS: Implement Object.prototype.isPrototypeOf 2020-12-28 13:10:07 +01:00
Proxy Base+LibJS+LibWeb: Make prettier clean 2020-12-27 21:25:27 +01:00
Reflect LibJS: Forward receiver value to native property getters/setters 2020-11-22 19:00:19 +01:00
RegExp Base+LibJS+LibWeb: Make prettier clean 2020-12-27 21:25:27 +01:00
String LibJS: Implement String.prototype.split 2021-01-10 21:27:59 +01:00
Symbol LibJS: Allow conversion from Symbol to String via explicit String() call 2020-08-22 10:52:40 +02:00
TypedArray LibJS: Add Float{32,64}Array 2020-12-05 23:52:17 +01:00