interviewee : *Appeared for JavaScript interview, in shorts with messy hair *

interviewer : why are you like this *with disgust feeling*

interviewee : I exactly don't know what this refers to

interviewer : can we talk about package

  • 0
    I don't get where all this confusion regarding 'this' stems from in js
  • 0
    @Krokoklemme People have stretched closures to do all kinds of stuff (Classes, Wierd counter things, normal functions) and because the language was never designed to support this kind of abstraction, it has some stuff that seems inconsistent for people who come from languages designed with abstraction in mind. Also, the standard keeps getting expanded upon (whilst keeping old stuff intact), which makes js a huge cluster fuck anyways.
Add Comment