JavaScript is basically a programming language for the web,
you can see JavaScript as the official language for web development
and the only programming language that allows you to build
frontend applications (web interface),
backend applications (server+database) down to mobile applications,
and machine learning.