Yes. It is worth learning JavaScript in 2021. JavaScript is the foundation of every web page and web app on the Internet. So, there is no question of its relevance in 2021 and the years to come.