It would have been much more useful if the arrow syntax could be used for multiline function.
I actually like that it closes over the value of the enclosing scope. It would have been much more useful when creating an anonymous function that uses data from the enclosing scope.
It would have been much more useful if the arrow syntax could be used for multiline function.
I actually like that it closes over the value of the enclosing scope. It would have been much more useful when creating an anonymous function that uses data from the enclosing scope.
Yes, it would have been awesome. Maybe in the later version, they will add such a feature.