DEV Community

Discussion on: Illustrating Lexical Scope in JavaScript

Collapse
 
rajat2502 profile image
Rajat Verma

Hey, thanks for reading the article, yeah we can definately use the find method for that function. The for loop was used just to show how nested scopes work.