Is JavaScript used for frontend or backend?

Yes, plan JavaScriptcan be use for frontend. But to use JavaScript at backend, you must use NodeJS.

Quick Quote