5 lines
111 B
TypeScript
5 lines
111 B
TypeScript
|
//@target: ES6
|
||
|
|
||
|
var includes: boolean;
|
||
|
includes = "abcde".includes("cd");
|
||
|
includes = "abcde".includes("cd", 2);
|