check if string begins with certain characters 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