Logo
Explore Help
Sign In
fergalmoran/ladybird
1
0
Fork 0
You've already forked ladybird
mirror of https://github.com/fergalmoran/ladybird.git synced 2026-05-20 10:08:47 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
9c19e626754731e737208dcf4ee4e46f9d5bcd22
ladybird/Userland/Libraries/LibJS/Tests/builtins/String
History
Timothy Flynn b6093ae2e3 LibJS: Implement String.prototype.substr according to the spec
Fixes #6325

The JavaScript on the HTML Spec site that caused the crash is:
    window.location.hash.substr(1)

Of course, window.location.hash can be the empty string. The spec allows
for calling substr(1) on an empty string, but our partial implementation
wasn't handling it properly.
2021-04-15 08:38:19 +02:00
..
String.fromCharCode.js
…
String.js
…
String.prototype-generic-functions.js
…
String.prototype.at.js
…
String.prototype.charAt.js
…
String.prototype.charCodeAt.js
…
String.prototype.concat.js
…
String.prototype.endsWith.js
…
String.prototype.includes.js
…
String.prototype.indexOf.js
…
String.prototype.js
…
String.prototype.lastIndexOf.js
…
String.prototype.match.js
…
String.prototype.padEnd.js
…
String.prototype.padStart.js
…
String.prototype.repeat.js
…
String.prototype.replace.js
…
String.prototype.slice.js
…
String.prototype.split.js
…
String.prototype.startsWith.js
…
String.prototype.substr.js
…
String.prototype.substring.js
…
String.prototype.toLowerCase.js
…
String.prototype.toString.js
…
String.prototype.toUpperCase.js
…
String.prototype.trim.js
…
String.prototype.valueOf.js
…
String.raw.js
…
Powered by Gitea Version: 1.25.0+dev-360-gc4c1a4bd18 Page: 1511ms Template: 10ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API