I searched for
"()=>{} in js"
on Google But it's not displaying relative results What is it?
I searched for
"()=>{} in js"
on Google But it's not displaying relative results What is it?
=>
is a shortcut for an anonymous function. So that's just a function that does nothing. equivalent to:
function () { }