DEV Community


Discussion on: You Can Invent Javascript Scopes

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

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