Arrow Functions

Best used for things like callbacks, or in array maps, for each, etc.

Arrow functions shouldn’t be used for object methods, or constructors (but I’m not using those anyway.)

I know how to use them. But here’s a reference. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions

Created from: Modern Javascript Course 202006070113


uid: 202006160127 tags: #programming #javascript


Date
February 22, 2023