DEV Community

Cover image for Understanding: Context, Scope, Execution Context and 8 different This value in JavaScript explained by Paw Patrol!

Understanding: Context, Scope, Execution Context and 8 different This value in JavaScript explained by Paw Patrol!

Carlos Caballero on May 17, 2019

After more than 6 years explaining frontend to both vocational training and university students, I have found it difficult to understand the use of...
Collapse
 
oleksandr profile image
Oleksandr • Edited

"It sets new empty object’s invisible ‘prototype’ property"
I guess it should be --proto-- ,I put dashes instead of underscores, instead here. And as for now we can access it and see it if console.log the object

Collapse
 
voidjuneau profile image
Juneau Lim

God, I didn't know that I could use this to refer to the global context. This is surprising.