I came across below syntax while I was writing test cases for one existing code base .
export function * downloadDataSaga({payload: {stateObject ,fieldObject}}){
//Some code
}
Kindly help me in understanding this syntax where json type syntax is used as params in function.I.e which feature of JavaScript is this and what does this syntax mean ?