I started to like JavaScript. Is it really used only in web dev?

I began to like JavaScript as a beginner and wonder if I can translate the knowledge of it to other languages. I have no prior experience in coding. I’m just learning and doing CS50 and the Odin project.