New ES6 string methods
ES6 introduced new string methods such as startsWith(), endsWith(), includes(), padStart(), padEnd(), repeat(). To check if a string starts with a specified substring, use startsWith() . It returns true or false console.log("Atlanta, Ga".startsW...



