DEV Community

loading...

Discussion on: You Can Invent Javascript Scopes

Collapse
okrohan profile image
Rohan Salunke

Thanks for the Post!
Just a quick tip, In JS you can easily debug the Closure value using 'console.dir' like so

Like So

Collapse
nt591 profile image
Nikhil Thomas Author

Thanks so much for that reminder! I’m so used to logging everything that I forgot about the other console methods