Regular vs Arrow Function
Define your functions in many ways.
One way is using function keyword:
// function declaration
function test(msg) {
return `Hey ${msg}`
}
// function expression
const test = function(msg) {
return `Hey ${msg}`
}
You can call both function ...
suprabhasupi.hashnode.dev6 min read
partha narra
Angular Developer
So many Differences, I know only a few, thanks for the article