WebdevAshishk's profile picture. I am frontend web developer doing all things creative to make the web a more unique and awesome place.

ashish kumar

@WebdevAshishk

I am frontend web developer doing all things creative to make the web a more unique and awesome place.

The Ganga river has entered the residential areas or residential areas have encroached the Ganga river area?



Synchronous: Tasks run one after another, waiting for each to finish. Asynchronous: Tasks can run independently, without waiting.🧠 Tip: Use async when tasks take time (like network calls) to avoid blocking the rest of the code.


🧠 Lexical Scope vs Closure 🔹 Lexical Scope: Inner function can see outer variables. 🔹 Closure: Inner function remembers outer variables even after outer is done. 📌 Scope gives access. 📌 Closure keeps it. #JavaScript #LexicalScope #Closures


🚀 Lexical Scope vs Lexical Environment (JS) 🧠 Lexical Scope = Where variables/functions are defined in the code. 🔍 Lexical Environment = How JS stores/manages them during execution (includes current vars + outer refs).


🧠 JavaScript Tip: Temporal Dead Zone (TDZ) Ever got a ReferenceError before your variable even existed? 💪🏾That’s TDZ in action! When using let or const, the variable is hoisted but not initialized. Accessing it before declaration = ReferenceError.

WebdevAshishk's tweet image. 🧠 JavaScript Tip: Temporal Dead Zone (TDZ)

Ever got a ReferenceError before your variable even existed?

💪🏾That’s TDZ in action!
When using let or const, the variable is hoisted but not initialized. Accessing it before declaration = ReferenceError.

💡 Shallow Copy vs Deep Copy in JavaScript 🔹 Shallow Copy: Copies only top-level data. Nested objects still linked. 🔹 Deep Copy: Copies everything — fully independent

WebdevAshishk's tweet image. 💡 Shallow Copy vs Deep Copy in JavaScript

🔹 Shallow Copy: Copies only top-level data. Nested objects still linked.
🔹 Deep Copy: Copies everything — fully independent

🧠 JavaScript Trick You Should Know Ever confused between ?? (Nullish Coalescing) vs || (Logical OR)? They look similar but behave differently! 👉 || returns the right side if the left is falsy 👉 ?? returns the right side only if the left is null or undefined

WebdevAshishk's tweet image. 🧠 JavaScript Trick You Should Know
Ever confused between ?? (Nullish Coalescing) vs || (Logical OR)?
They look similar but behave differently!
👉 || returns the right side if the left is falsy
👉 ?? returns the right side only if the left is null or undefined

Here are some unofficial yet powerful JavaScript concepts that often pop up in interviews and real-world code — but aren’t part of the official language spec.

WebdevAshishk's tweet image. Here are some unofficial yet powerful JavaScript concepts that often pop up in interviews and real-world code — but aren’t part of the official language spec.

JavaScript can be tricky! From hoisting and closures to this and async behavior, even experienced devs get confused. Mastering these tricky parts—like == vs ===, scope, and references—can make you a better coder. 💡 What topic still confuses you in JS? #JavaScript #WebDevelopment

WebdevAshishk's tweet image. JavaScript can be tricky!
From hoisting and closures to this and async behavior, even experienced devs get confused. Mastering these tricky parts—like == vs ===, scope, and references—can make you a better coder.
💡 What topic still confuses you in JS?
#JavaScript #WebDevelopment

🚀 Just completed my first TypeScript project from scratch! 🎉 TypeScript Tailwind CSS React Router DOM Parcel Check it out here and let me know what you think! 🙌 [rest-country-by-ashishk.netlify.app] ✨ #TypeScript #TailwindCSS #ReactRouterDOM #Parcel #WebDev

WebdevAshishk's tweet image. 🚀 Just completed my first TypeScript project from scratch! 🎉
TypeScript
Tailwind CSS
React Router DOM
Parcel
Check it out here and let me know what you think! 🙌
[rest-country-by-ashishk.netlify.app]
✨ #TypeScript #TailwindCSS #ReactRouterDOM #Parcel #WebDev

United States Trends

Loading...

Something went wrong.


Something went wrong.