Nice research.
I thought that the difference of arrow functions only in the lack of this and arguments but it seems like not. Does these statistics work only for array methods or for other cases (eg utility functions) as well?
this
arguments
I haven't actually tried. I suppose copying the script I used and simply changing the Array#map into another utility function would suffice.
Array#map
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice research.
I thought that the difference of arrow functions only in the lack of
thisandargumentsbut it seems like not. Does these statistics work only for array methods or for other cases (eg utility functions) as well?I haven't actually tried. I suppose copying the script I used and simply changing the
Array#mapinto another utility function would suffice.