2 ms·
I believe this is actually a difference between named and anonymous functions. The named function syntax is function foo1() { ... } Both of the below exampl
by culi 2y 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 = () => { ... }