starts with in typescript code example
Example: javascript word start with
const str = "Saturday night plans";
const res = str.startsWith("Sat");
console.log(res); //> true
const str = "Saturday night plans";
const res = str.startsWith("Sat");
console.log(res); //> true