What’s the one React concept you still have to Google every damn time?
Mine: the difference between useCallback and useMemo when I'm sleep deprived.
#Reactjs#javascripttutorial#WebDevelopment
JavaScript's Silent Conversion: What Happens to Your Object Keys?
Every JS developer should know: JavaScript automatically turns all object keys into strings!
No matter what you use—numbers, reserved words, or anything else—every key is treated as a string.
#javascripttutorial
forEach and map methods are almost similar to each other.
Both apply on individual elements of an array or an object. The difference is that the map function returns a new array with the given function's definition after applying on the individual elements.
#javascripttutorial