Websites were completely static with pure HTML, so JavaScript was designed as an easy to use high level language to help developers make these websites interactive
JavaScript is arguably the most popular language in the world and its standard implementation is called ecmascript and is the default language in all web browsers
Code can be executed on the Fly by opening up the console in your browser Dev tools to run some code that changes the appearance of a website at any time
Under the hood of the browser there's an engine called V8 that makes JavaScript run extremely fast by taking your code and converting it to machine code with a process called Just in Time compilation