0
See the codes given below. Both shows the same output. Please tell me different between both code are function and =>
Const myfunction =function () { ...........................................//something code . } Const myfunction=()=>{ ..........................................//something code . }
1 Answer
+ 2
You can define a function to a variable in any way you like.
I prefer the Arrow function one đ€