How is Javascript Executed?

Maximilian Schwarzmüller
A free video tutorial from Maximilian Schwarzmüller
Professional Web Developer and Instructor
4.7 instructor rating • 36 courses • 1,398,557 students

Lecture description

Of course, an important question is, where JavaScript actually runs - how is it executed? This lecture will answer this question.

Learn more from the full course

Accelerated JavaScript Training

Take a deep dive into JavaScript, a Must-Know Language in Web Development, with a Hands-on, Example-driven Approach

07:31:48 of on-demand video • Updated November 2020

  • Use JavaScript to write modern, reactive Websites
  • Understand how JavaScript works and how to use its many advantages
  • Dive into JavaScript Libraries like jQuery or Frameworks like Angular 2 or React
English Before we actually start, let's talk about one very important thing, where does Javascript actually run? Now you might know this, in this case just feel free to skip ahead but if you're not 100% sure about this, here you go. Javascript typically runs in the browser, which means when you load a webpage, Javascript is not executed on a server from which the webpage comes but instead in your browser. That's why Javascript is so popular these days because it allows you to create very good and reactive user experiences since it doesn't depend on some kind of server responding in time but it runs in the browser, there where the user is using it, there is no closer way or no closer place to execute code and therefore Javascript is very powerful . But there also is the chance to run it on a server with NodeJS which is a server-side language based on Javascript. Now in this course, I'll clearly focus on the browser part but many of the concepts you learned here, indeed all of the very basics of Javascript and how it works will of course also apply to the server in NodeJS. NodeJS extends the language and offers other features as well but the core language of course is Javascript and therefore, the things you learned in this course are relevant for this as well.