I personally don’t think that JavaScript will die anytime soon. The amount of JS written in the last ~5 years alone is enormous. But I understand that FE development isn’t as challenging as it used to be. I used to be a backend developer coding in C# mostly and I loved it. At some point everything shifted to the browser and I ended up writing only JS. Bored, I picked up Clojure and I’m fascinated. It doesn’t have the popularity of Rust but it is fun to write code again.