🌱 5 Differences Between Arrow and Regular Functions
this
, constructors, args, implicit return, methods all differ between
const greet = function (who) {
return `Hello, ${who}`
}
and
const greet = (who) => {
return `Hello, ${who}!`
}
this
, constructors, args, implicit return, methods all differ between
const greet = function (who) {
return `Hello, ${who}`
}
and
const greet = (who) => {
return `Hello, ${who}!`
}