Having this confusion with react-native (javascript) function declaration
_onclick = (resp) => { //some functions }
and,
_onclick(resp){ //some functions }
what is the difference between both declarations? or they are actually the same?
Having this confusion with react-native (javascript) function declaration
_onclick = (resp) => { //some functions }
and,
_onclick(resp){ //some functions }
what is the difference between both declarations? or they are actually the same?