If you're talking about Node.js or JScript or something else, then that's different.
They're extremely common in the front end world - all the fancy SPA frameworks and build systems promote & use them extensively.