javascript string starts with date 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