let str = "my string";
1. str.startsWith('my'); //true
2.str.endsWith('my'); //false
3.str.includes('str'); //true
4.str.repeat(3); //'my string my string my string'
let str = "my string";
1. str.startsWith('my'); //true
2.str.endsWith('my'); //false
3.str.includes('str'); //true
4.str.repeat(3); //'my string my string my string'