Functions are the heart of Javascript 💘 !!Functions are the heart of Javascript 💘 !! We often need to perform similar actions in many places on our website. An example of that would be a greeting message when a user logs in or logs out. This is where we can make use of functions and invok...1AMay 15, 2022 · 5 min readbadolla.hashnode.dev
Hoisting in Javascript 🔥Before I start explaining Hoisting, try to guess the output of the following code without running in the console - console.log(x); getName( ); function getName( ) { console.log("John Doe"); }; var x = 5; So the output would be - console.log(x)...2AASep 6, 2021 · 4 min readbadolla.hashnode.dev
Javascript Primitives and Non-Primitives valuesJavascript provides different data types to store values. There are two types of data types namely: Primitive data type Non-primitive data type The primitive data types are as follows- String - "Hello" Number - 100 Boolean - true/false Undefined ...Jan 10, 2021 · 2 min readbadolla.hashnode.dev
How JavaScript works? How Scope in JavaScript works? What is Scope Chain?Javascript is fast growing programming language as it can be used from browser to server & from mobile apps to web apps. There are people who love JS & then there is a whole lot of section who completely hate JS. But JS is a beautiful language ❤ T...Jan 1, 2021 · 21 min readbadolla.hashnode.dev