1. what is double equal ( == ) and triple equal ( === ) in JavaScript?

Ans: Double equal (==) check the value and triple (===) check the value and type.

2.What is scope, block scope?

Ans: Scope: scope is 2 types global and Local. Global scope declared outside of any function and access from any function. Local scope declared inside a function and it cant be accessed from out of function.

Block Scope is defined else if, switch, for, while loops. …

Mahmud Hasan

Web Developer

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store