In a previous lesson, you learned that word motions stop at symbols such as ".". That's great for precision, but sometimes you need to blaze through chunks of text without getting stuck on symbols.
That's where WORD (all caps) motions come in. They treat everything between spaces as one chunk, symbols and all:
return Math.max(-12345, 9001)
Use the uppercase variants of the word motions you've already learned to move by WORDs:
In Vim, a WORD (all caps) is any group of characters separated by whitespace. That means it treats letters, numbers, symbols—everything—as a single unit, as long as there are no spaces in between.
// The following line has 9 words:
const test = document.getElementById("test");
// And only 4 WORDS:
const test = document.getElementById("test");
With practice, you will intuitively use the most efficient motion. For now, spend a minute looking at the above visuals to get a feel the difference between words and WORDs.