3 ms·
I am an amateur dev and used the arrow notation only in the way you described in your first example: array.map((element) => yourFunction(element)) What exactly
by BrandoElFollito 6y ago
I am an amateur dev and used the arrow notation only in the way you described in your first example: array.map((element) => yourFunction(element))
What exactly is the shortcut you mention? (wild your mind converting the example into the incorrect/dangerous version?)