DEV Community

loading...

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

Collapse
keltroth profile image
Django Janny • Edited

Nice !! You should add other tricky ones with something like :

newCall.call(call);

and :

newCall.bind(call)();
Collapse
liaowow profile image
Annie Liao Author

Thanks, Django! I actually thought about that, but then I'd have to introduce call, apply and bind, which might turn this little quiz into a full-fledged code challenge lol.