Arama Sonuçları: "#JavaScriptChallenge"

20 sonuç
Nausheen Faiyaz
Nausheen Faiyaz@codeXninjaDev·
Day 24 of #JavaScriptChallenge by @ChaiCodeHQ @Hiteshdotcom • Learned about Execution Context & Call Stack • JS starts with Global Execution Context • Each function creates its own context • Two phases: Memory & Execution • Managed by Call Stack (LIFO)
Nausheen Faiyaz tweet mediaNausheen Faiyaz tweet mediaNausheen Faiyaz tweet mediaNausheen Faiyaz tweet media
English
0
0
12
102
Nausheen Faiyaz
Nausheen Faiyaz@codeXninjaDev·
Day 23 of #JavaScriptChallenge by @ChaiCodeHQ @Hiteshdotcom Learned IIFE (Immediately Invoked Function Expression) • Executes immediately after creation • Avoids global scope pollution • Can be named or anonymous • Pass params → ((name)=>{})(‘Nausheen’) • Always end with ;
Nausheen Faiyaz tweet media
English
0
0
12
132
Nausheen Faiyaz
Nausheen Faiyaz@codeXninjaDev·
Day 22 of #JavaScriptChallenge by @ChaiCodeHQ @Hiteshdotcom - this & Arrow Functions in JS -this depends on how a function is called - Arrow functions inherit this (lexical scope) - Node.js → this = {} | Browser → this = window - Explicit return → {} | Implicit return → no {}
Nausheen Faiyaz tweet media
English
0
0
7
77
Nausheen Faiyaz
Nausheen Faiyaz@codeXninjaDev·
Day 21 of #JavaScriptChallenge by @ChaiCodeHQ @Hiteshdotcom Scope & Hoisting in JS 🔹 Inner → can access outer vars 🔹 Outer → can’t access inner vars 🔹 Function declarations → hoisted 🔹 Function expressions / arrow → not hoisted Know your scopes to avoid tricky bugs!
Nausheen Faiyaz tweet mediaNausheen Faiyaz tweet mediaNausheen Faiyaz tweet media
English
0
0
15
89