Honestly the arrow vs regular functions threw me off. Looked it up and they dont take parameters, just from the scope? But I would assume if you declared it as:
const pointyGuy = (params) => {} then its just taking parameters like a normal function once declared to my knowledge?
The first thing that would come to mind regarding this question imo is the different behaviour of an arrow function vs a regular function in like a class and the behaviour of the this keyword inside them
1
u/notislant Apr 07 '23 edited Apr 07 '23
Honestly the arrow vs regular functions threw me off. Looked it up and they dont take parameters, just from the scope? But I would assume if you declared it as:
const pointyGuy = (params) => {} then its just taking parameters like a normal function once declared to my knowledge?