Do you mean less colors than VS Code? This is an artifact of (n)vim’s regex/contains/follows-based syntax highlighter. VS Code uses TextMate Grammars which are inherently better for parsing language-elements. I think nvim was talking about switching to a tree-sitter parser (the work in progress is here).
As Mass mentions, there are a number of js plugins which greatly extend the syntax highlighting for javascript. I’ve been happy with pangloss/vim-javascript from github.
VS Code also appears to be using rainbow parens, plugins for which exist in the vim ecosystem as well.