JavaScript's this
mechanism behaves a little differently compared to other languages. When used in the global context (outside of any function), this
refers to the global object. This lesson highlights the different behavior between Node and the browser.
simple but useful, thanks
simple but useful, thanks
Off topic, but what sort of text editor/terminal configuration is that? It looks lovely. :)
@Alicia: I'm using Visual Studio Code with the Dracula theme. A lovely combination, indeed :)