I've been dabbling in javascript the past couple of days and since I already know how to program it is has been sooo easy and quick to get up and running. The tooling for web dev also feels better than what I personally have experienced doing things natively. Are there things that I don't like about JavaScript? Sure. For example. The behavior of the "==" operator freaks me out and I would always use "===" instead. But my programming experience helps me evaluate the subset of JavaScript that I need and that won't cause me too much grief in the long run. And while this is changing, there is something really nice about being able to get by in just HTML/CSS and JavaScript. Sure there are different frameworks you have to learn and they change a lot, but I'd take that over having to learn an entirely new programming language just to work on a specific domain any day (I say as I learn an entirely new programming language to work in the web).
I am naive to doing any professional web development, but from what I have seen, it seems like having to handle the idiosyncrasies of the four major browsers is a lot less effort than having to handle the 4 major operating systems though I could be wrong.