JavaScript doesn’t care where a function is called.
Only where it was written.
After Making my last video on Closures, I made this to explain Lexical scope in less than 2 minutes
#learnjavascript #Coding #softwareengineering
#Javascript
2
36
Learn how to sort an array of objects in JavaScript using the sort() method, custom compare functions, and practical examples for strings and numbers.
From hackernoon.com