mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-04-18 03:00:27 -04:00
substring, toLowerCase, toString, toUpperCase, trim, trimEnd, trimStart, valueOf
This commit is contained in:
13
inputs/passing/stringMethods/trimEnd.ts
Normal file
13
inputs/passing/stringMethods/trimEnd.ts
Normal 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];
|
||||
}
|
||||
Reference in New Issue
Block a user