Understanding JavaScript: Hoisting, Closure, Promises, Async Await

Today, I revised important concepts of JavaScript. 📘 Those topics are: 1️⃣ Hoisting: makes code to use function and variables before they are declare. 2️⃣ Closure: function has scope of its outer environment even after code finished execution. 3️⃣ Promises: It act as an placeholder for an values which not present yet but will be soon. 4️⃣ Async await: They make the Asynchronous code more similar to synchronous. Mostly used in API and Database calls. This concept helps in understanding the nature of the JavaScript and also make easy to read and maintain the code. #WebDevelopment #Javascript #Frontend #LearningInPublic #Consistency #RevisionJourney #Coding

  • text

To view or add a comment, sign in

Explore content categories