js get word that startwith 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