JS: Filter Array of Objects

Let’s say we have this …

And we want to get the cmd for each language scope, except for Javascript. (Say, we have another check for js but not jsx.) We could either do this.

Or we can do this.

Actual use of the script …

Hmmm..

(This is the reason why I like Atom more than VSCode. It is so easy whipping up a quick script for some simple thing. I don’t need to write a whole plugin.)