open_in_new
content_copy
const str = "Saturday night plans"; const res = str.startsWith("Sat"); console.log(res); //> true