I am new to React. Recently I came across an application wherein some function had the definition as:
async function (a, b) => {//body}
which is quite understandable. But also in the same apllication some functions had the structure as async function ({a,b}) => {//body}
. What is the difference between defining function between the above two methods?