|
|
|
|
|
by culi
703 days ago
|
|
I believe this is actually a difference between named and anonymous functions. The named function syntax is function foo1() { ... }
Both of the below examples are anonymous functions const foo2 = function() { ... }
const foo3 = () => { ... }
|
|