60
Comments
  • 2
    Under? Yeah var self = this;
  • 5
    ( ) -> { }
  • 1
    You mean "that" ?
  • 3
    @jarnix No. I meant "this". Many devs use statement "var that = this;" and that's why variable "that" occurs at multiple places but the actual variable is still "this".
  • 0
    Tbh: I never used 'this' before, gotta look into it some time probably...
  • 1
    @ILoveJavaScript you know that's just because you have no certainty what “this“ actually is. Even the angular guys did this
  • 1
    @Data-Bound : I know what "this" means. I have created some big JavaScript applications. And u can't create one without knowing the meaning or context of "this". I added that rant for beginners as part of week 26 as it's something when not used correctly can cost hours of debugging.
  • 0
    One of the things I love about Python is that the same thing in Python sounds very motivational:

    Never underestimate the power of self!
Add Comment