forked from Mirror/wren
5 lines
243 B
Plaintext
5 lines
243 B
Plaintext
IO.print("abcd".endsWith("cd")) // expect: true
|
|
IO.print("abcd".endsWith("abcde")) // expect: false
|
|
IO.print("abcd".endsWith("abcd")) // expect: true
|
|
IO.print("abcd".endsWith("f")) // expect: false
|
|
IO.print("abcd".endsWith("")) // expect: true |