What is the method in JavaScript used to remove the whitespace at the beginning and end of any string code example Example: javascript trim spaces value = value.trim();