1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 10:15:06 +00:00
serenity/Libraries/LibJS/Tests/builtins/String
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
..
String.fromCharCode.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
String.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
String.prototype-generic-functions.js LibJS: Implement String.prototype.endsWith() 2020-12-26 01:09:04 +01:00
String.prototype.charAt.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
String.prototype.charCodeAt.js LibJS: Implement String.prototype.charCodeAt 2020-07-22 15:48:01 +02:00
String.prototype.concat.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
String.prototype.endsWith.js Base+LibJS+LibWeb: Make prettier clean 2020-12-27 21:25:27 +01:00
String.prototype.includes.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
String.prototype.indexOf.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
String.prototype.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
String.prototype.lastIndexOf.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
String.prototype.padEnd.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
String.prototype.padStart.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
String.prototype.repeat.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
String.prototype.slice.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
String.prototype.split.js LibJS: Implement String.prototype.split 2021-01-10 21:27:59 +01:00
String.prototype.startsWith.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
String.prototype.substr.js LibJS: Add a basic implementation of String.prototype.substr() 2020-11-29 20:29:49 +01:00
String.prototype.substring.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
String.prototype.toLowerCase.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
String.prototype.toString.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
String.prototype.toUpperCase.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
String.prototype.trim.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
String.prototype.valueOf.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
String.raw.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00