DEV Community

Discussion on: Take 'this' Quiz, Understand How 'this' Works in JavaScript

Collapse
 
xr280xr profile image
xr280xr

Very nice! I've been reading other's attempts at this and have just been getting more confused but this lays out some straight forward rules.

FWIW, This sentence is confusing to me, "Here, we assign a new variable to the says function inside the call object." Unless I'm misinterpreting, I would describe it more as, "Here we assign the says function inside the call object to a new variable."

Thank you for writing this up!

Collapse
 
liaowow profile image
Annie Liao

Glad you find this quiz helpful! And thanks for the feedback – I have rephrased it accordingly:
"Here, we declare a new variable, newCall, and assign the says function inside the call object to newCall."
Hope this clarifies.