Question · Vue.js course · Module 5: Events & Forms
.trim modifier
What does the .trim modifier do?
Answer options
- Truncates text to a specified length
- Removes all spaces from the text
- Formats text to lowercase
- Automatically removes whitespace from the beginning and end
You can check the correct answer by solving this task in the CodeWorlds game.