in jQuery, why are we using this ({ })
- by uzay95
I wonder that, why are we using ({ }) ?
Is it delegate ?
What does it mean to use this syntax ?
What are we wrapping with it ?
For ex:
$.ajaxSetup ({ // <-- THIS
error: fError,
compelete: fComp,
success: fSucc
}); // <-- AND THIS