To remove spaces at the beginning and end of a string, what is the correct method?
const str = " hello ";
str.squeeze()
str.clean()
str.trim()
str.strip()