ASIF

Monthly Archives: November 2023

Javascript Data Types

JavaScript has several built-in data types that are used to represent different kinds of values. These data types can be categorized into two main categories: primitive data types and reference data types. Primitive Data Types: Primitive data types are the most basic data types in JavaScript. They are immutable (cannot be changed) and are stored […]

Var Vs Let

In JavaScript, let and var are used to declare variables, but they have some important differences in terms of scope and hoisting. ➡ var: Variables declared with var are function-scoped. This means that they are only accessible within the function in which they are defined, and they are hoisted to the top of their containing […]