Ditto...
If I may add, js can be looked at as syntactical sugar and basically makes your work much easier, user-friendly, efficient, and so forth.
If you tell us more, we can tell you more as well. Since your question was so broad, you are probably relatively new to both paradigms.
I look forward to your response...