Published On: January 12th, 2023Categories: AI News



About the series

Core JavaScript is a series I’m writing that covers, as the name suggests, some of the core principles of JavaScript. It originally started as a study or reference material for myself, but I decided to share it with the community in the hopes that it will prove useful for others.

This series is intended for beginner JavaScript developers or more experienced developers in need of a refresher. I have a few topics planned out already, but I would love to hear from you if there are any topics, in particular, you would be interested to read about!


You might recall that in a previous article, we came across the concept of scope in JavaScript. In short, scope represents the section of code in which a variable is accessible. There are a few different types of scope in JavaScript:

  • Global scope
  • Module scope
  • Function scope
  • Block scope

Let’s go through each of them to see how they work.



Global scope

The global scope exists outside…

Source link

[gs-fb-comments]

Leave A Comment