Monthly Archives: October 2022

Kotlin Variable

Kotlin Variables are containers for storing data values. The data of variables can be changed and reused depending on conditions. To create a variable we can use var or val, and assign a value to it with an equal sign (=) Variable Declarations Kotlin uses two keywords to declare variables val and var. Example : Continue Reading »

HOISTING IN JAVASCRIPT (Variables & Function)

A Person with another programming background is definitely confused with hoisting in Javascript. So let’s deep dive into the hoisting in javascript The Javascript engine creates the global execution context when we execute a piece of Javascript code. Global Execution Context has two phases : (i) Creation Phase (ii) Execution Phase Definition: During the creation Continue Reading »