What’s the weirdest bug you’ve fixed recently?
Mine was a component that only broke when I opened DevTools…
like it knew I was watching.
#Reactjs#javascriptconcepts#Bugs
// this in global space
console.log(this) //globalObject- window,global
// this inside a function
function x(){
console.log(this); //guess the output
}
x();
ps :we are not using stict mode
#javascript#thiskeyword#javascriptconcepts#100DaysOfCode
🚀 Hey devs!
👨💻 Can you identify the concept behind this
JavaScript code snippet?
Hint: It's a common pattern in asynchronous
programming.
Share your thoughts! 💬
#JavaScriptConcepts#CodingChallenge
perform specific tasks. Make sure to understand how to define and call functions, as well as passing arguments and returning values. Functions are the building blocks of JavaScript! ? #JavaScriptConcepts
Tweet 3:
Conditional statements are a must-know concept in JavaScript. The