> From a documentation, examples, accessibility, tooling, and number of people you can get help from, JS wins
Maybe as a general purpose language, but for this specific comparison (extending editors). Elisp and Emacs wins. Vimscript is not the best plugin language, but the interation process is way better than VSC.