What is Synchronous and Asynchronous programming in JSIntroduction Before getting into asynchronous programming in javascript, Let's get a glance at what is synchronous javascript and how does synchronous code look like. Synchronous programming. As we know Javascript is a single-threaded language the w...1CSep 3, 2022 · 3 min readvigneshsadhu.hashnode.dev
Are let and const hoisted?What is hoisting? Hoisting is the process that makes some type of variables accessible/usable in the code even before they are declared. Before the execution, the code is scanned for variable declarations in the global scope. For each type of data, t...Aug 24, 2022 · 2 min readvigneshsadhu.hashnode.dev
Basic Array Methods in JavaScript.Methods used to insert/add elements in an array In an array, we can add or insert elements using square brackets but few methods can handle this operation. push() method It is the method that is used to append the elements at the end of an array. T...Jul 23, 2022 · 4 min readvigneshsadhu.hashnode.dev
Arrays in JavaScriptIntroduction to arrays An array is a data type that stores the data contiguously. Generally, arrays are used to store collections of different types such as numbers, strings, objects, etc. The syntax to declare an array: const array1=[Element1,Eleme...Jul 21, 2022 · 4 min readvigneshsadhu.hashnode.dev
Javascript Variables.Variables What are variables? Variables are the containers for storing the data. Variable is generally declared by using a keyword "var" followed by a label . When var is declared then a dynamic memory is allocated for the variable. Label is the nam...Apr 11, 2022 · 2 min readvigneshsadhu.hashnode.dev