const name =()=>{} | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

const name =()=>{}

const name =()=>{ } What does this means in JavaScript I don't know this I am newbie to js plz help me

17th Apr 2019, 5:15 PM
madhusudan bhat
madhusudan bhat - avatar
2 Answers
+ 10
const name = () => {} It'S The new way of saying: function name() {}
17th Apr 2019, 6:10 PM
InvBoy [ :: FEDE :: ]
InvBoy [ :: FEDE :: ] - avatar
+ 1
Thank you but "=> " is this pointer to function
18th Apr 2019, 2:45 AM
madhusudan bhat
madhusudan bhat - avatar