Best of Logging — September 2020
- 1
- 2
Hashnode·6y
“this” in JavaScript DEMYSTIFIED!!
JavaScript has a this keyword which allows us to reuse functions with different contexts. The this keyword can be broken down into four rules: Implicit Binding, Explicit Binding, New Binding and Window Binding. We’ll discuss all of these in this blog post. Read on to learn more about the this keyword.
- 3
RUBYLAND·6y
var, let, and const in JavaScript: a cheatsheet.
The var statement declares a variable in JavaScript which abides to the following rules:. function-scoped or globally-scope Accidental global variables reassignable and redeclared. let Block scoped Temporal dead zone Reassignable, not redeclarable.