substring, toLowerCase, toString, toUpperCase, trim, trimEnd, trimStart, valueOf

This commit is contained in:
Andrew Morris
2023-03-16 23:41:45 +11:00
parent d508831e9c
commit 751bf7a30d
8 changed files with 241 additions and 6 deletions

View File

@@ -0,0 +1,13 @@
// test_output! [["abc"," abc"," abc"," a b c",""]]
export default function () {
const trimEndTests = [
"abc ".trimEnd(),
" abc".trimEnd(),
" abc ".trimEnd(),
" a b c ".trimEnd(),
" ".trimEnd(),
];
return [trimEndTests];
}