0 points

js startsWith


dashboard

Tue Aug 04 2020 23:40:19 GMT+0000 (UTC)

Posted by @ludaley #javascript

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

https://www.google.com/search?q=javascript startswith