5 JavaScript OOP concepts you should know

Jasterix - Dec 19 '19 - - Dev Community

A few weeks ago, I started this series on JavaScripts concepts new developers should try to understand.

This post will focus on OOP concepts that you might come across while learning about classes and object oriented programming. Instead of summarizing these concepts from various sources, I'll try to explain them in plain English and provide a source for learning more.

OOP Concepts to understand

  1. Hoisting- a process where JavaScript allocates space in memory for your variables. Hoisting doesn't mean that your variables get moved to the top of your code. Instead they declared as undefined
  2. Prototype- a property that JavaScript function has access to. It points to an object
  3. This- a keyword that denotes the execution context or scope of a function or object

Of course, there's more to understand about these 3 concepts, especially when it comes to this this.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player