The main function present in code is an entry point for the compiler, so it is compulsory to have one main function in code. We use fn keyword to...
Tic Tac Toe is a classic game that serves as a great example for demonstrating fundamental programming concepts. In this blog, we will learn how to...
Look at the below code and guess its output: console.log(val); var val; If you have not studied hoisting and if you are learning javascript after...
This topic is one of the famous interview questions so therefore we are here to cover this in our blog. Without wasting any time let's move on to the...
IIFE’s full form goes like Immediately Invoked Function Expression & it means the function is invoked at the same place where it is defined. Syntax of...
Currying is a concept where a function with multiple arguments is divided into multiple functions having 1 or 2 arguments. Syntax of Currying...