Folder icon

Tags / JavaScript

My plans for the future

Update 06.02.2021: still getting there and changing my plans according to the situation :)
Posted on

JavaScript scope mini-task

What we will see in the console? The result will be: In the outer function this refers to the object, because the outer func is invoked as a method. But the inner function is invoked as a usual function, and hence this refers to window object. However, the inner function still can see its parent's scope, that's…
Posted on