let city = " Montreal  "
city.trim() // "Montreal"
// The trim() method removes whitespace from both ends of a string.