This is tangental, but programming clicked for me once JavaScript introduced me to functional/declarative programming features such as replacing loops with higher order functions (e.g. map) and avoiding mutation.
However, I'm now at a point in my career where I want to get out of the rat race of web development. Are there any programming languages or domains that are "functional/declarative oriented" but actually have jobs? (Note that I don't necessarily mean that I'm dead set on only purely functional programming languages. I would love to get a job working with those, but all I really need is something like that's functional/declarative enough for it to make sense to me.)