Arama Sonuçları: "#learnjavascript"

20 sonuç
Fred.eth
Fred.eth@AbimbolaDada01·
Day 4 JavaScript grind: I just built Rock Paper Scissors and it actually works!! 🪨📑✂️🔥 Beat the computer, track scores, pure vanilla JS magic. Momentum is real #BuildInPublic #100DaysOfCode #LearnJavascript
English
0
0
3
117
Zaynab 𖤍
Zaynab 𖤍@zaynab_eth·
Ever wondered what the real difference is b/w for...of and for...in in JavaScript? 👉 for...in loops thru keys (property names) of an object or array. 👉 for...of loops thru values of an iterable (like arrays, strings, etc). for...of = values for...in = keys #learnjavascript
Zaynab 𖤍 tweet media
English
1
0
10
238
Zaynab 𖤍
Zaynab 𖤍@zaynab_eth·
#LearnJavaScript Cloning in JavaScript isn’t always what you think 👇 = mean copies reference (both change) 📍...spread → shallow copy 📍Object.assign() → shallow copy 📍structuredClone() → deep copy ✅ Choose wisely when working with arrays/objects #100DaysOfCode
Zaynab 𖤍 tweet media
English
2
2
10
177