It depends a lot on the way you write JavaScript. If you work with React, like FP and make everything you can immutable, you’ll probably find it easy.
If you write JavaScript like it’s Java and really lean into OO, then Elixir will be more alien and force you to learn some new patterns.