5
Jifuna
5y

So basically after using arrow functions for 6 months I discovered just now that it also passes it's enclosing scope. The more you know

Comments
  • 2
    I think technically its a lambda, but JS calls them arrow functions:

    https://exploringjs.com/es6/...

    I dunno, never heard of em before now.
  • 1
    @M1sf3t Yeah, I know. Lambda is different in other languages.
  • 0
    Sadly our web apps have to work in IE, so arrow functions are a no-no
  • 1
  • 0
    @galileopy I would, but I haven't been able to convince them to use typescript yet. I will try again next time though
  • 0
    @dozingncoding you can just convince then to use ES2017.
  • 0
    @M1sf3t can't do that either. We have big customers who still use IE. They will phase IE out... Eventually. They have thousands of pcs each without admin access (except for their IT department). Having to install something in all computers would be time consuming and would thus cost too much money. It is not one of their priorities.
Add Comment