Cover ImageTypeScript Deep Dive
Basarat Ali SyedGitBook

4 notes/highlights

Created by Ahmed Mansour Ouda   – Last synced October 10, 2021


So be mindful of your usage of this . If you want to disconnect this in a class from the calling context use an arrow function
October 10, 2021

function can access the variables from the outer scope even after the outer function has returned . This is because the variables are still bound in the inner function and not dependent on the outer function.
October 10, 2021

When some number calculation is not representable by a valid number, JavaScript returns a special NaN value.
October 10, 2021

this has traditionally been a pain point in JavaScript. As a wise man once said “I hate JavaScript as it tends to lose the meaning of this all too easily”. Fat arrows fix it by capturing the meaning of this from the surrounding context
October 10, 2021

Write A Comment