mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-14 16:08:02 -05:00
15 lines
341 B
TypeScript
15 lines
341 B
TypeScript
//! test_output([[true,false,true,false,false,true]])
|
|
|
|
export default function () {
|
|
const startsWithTests = [
|
|
"abcde".startsWith("abc"),
|
|
"abcde".startsWith("bcd"),
|
|
"abcde".startsWith(""),
|
|
"abcde".startsWith("abcdeabcde"),
|
|
"abcde".startsWith("fgh"),
|
|
"abcde".startsWith("abc", 0),
|
|
];
|
|
|
|
return [startsWithTests];
|
|
}
|