#jsinternals search results

You probably know: + with string & number → string concatenation. But what if the interviewer flips it and asks: "What happens with - instead?" - forces JavaScript to convert the string to a number #JavaScript #WebDevelopment #JSInternals #FrontendTips #InterviewPrep #React

noobKoderr's tweet image. You probably know:
 + with string & number → string concatenation.
But what if the interviewer flips it and asks:
 "What happens with - instead?"
- forces JavaScript to convert the string to a number

#JavaScript #WebDevelopment #JSInternals #FrontendTips  #InterviewPrep #React

Wondering why perimeter breaks? 😵 diameter() is a regular function, so this refers to the object. 👉 perimeter is an arrow function, so this doesn't refer to shape, but to the surrounding (global) context where this.radius is undefined #JavaScript #JSInternals #FrontendTips

noobKoderr's tweet image. Wondering why perimeter breaks? 😵
 diameter() is a regular function, so this refers to the object.
👉 perimeter is an arrow function, so this doesn't refer to shape, but to the surrounding (global) context where this.radius is undefined

#JavaScript #JSInternals #FrontendTips

✅ Your JS code is scanned before it runs ✅ Declarations are hoisted, assignments aren’t ✅ var = undefined if accessed early ✅ let/const = ReferenceError if accessed early Understanding this = fewer bugs, more clarity. #JavaScriptTips #JSInternals #Hoisting #DevThreads


✅ Your JS code is scanned before it runs ✅ Declarations are hoisted, assignments aren’t ✅ var = undefined if accessed early ✅ let/const = ReferenceError if accessed early Understanding this = fewer bugs, more clarity. #JavaScriptTips #JSInternals #Hoisting #DevThreads


No results for "#jsinternals"

You probably know: + with string & number → string concatenation. But what if the interviewer flips it and asks: "What happens with - instead?" - forces JavaScript to convert the string to a number #JavaScript #WebDevelopment #JSInternals #FrontendTips #InterviewPrep #React

noobKoderr's tweet image. You probably know:
 + with string & number → string concatenation.
But what if the interviewer flips it and asks:
 "What happens with - instead?"
- forces JavaScript to convert the string to a number

#JavaScript #WebDevelopment #JSInternals #FrontendTips  #InterviewPrep #React

Wondering why perimeter breaks? 😵 diameter() is a regular function, so this refers to the object. 👉 perimeter is an arrow function, so this doesn't refer to shape, but to the surrounding (global) context where this.radius is undefined #JavaScript #JSInternals #FrontendTips

noobKoderr's tweet image. Wondering why perimeter breaks? 😵
 diameter() is a regular function, so this refers to the object.
👉 perimeter is an arrow function, so this doesn't refer to shape, but to the surrounding (global) context where this.radius is undefined

#JavaScript #JSInternals #FrontendTips

Loading...

Something went wrong.


Something went wrong.


United States Trends