mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-13 15:38:06 -05:00
15 lines
340 B
TypeScript
15 lines
340 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];
|
|
}
|