=>
is a shortcut for an anonymous function. So that’s just a function that does nothing. equivalent to:
function () { }
1
solved What is “()=>{}” in js? [duplicate]
=>
is a shortcut for an anonymous function. So that’s just a function that does nothing. equivalent to:
function () { }
1
solved What is “()=>{}” in js? [duplicate]