which is better fetch or $.ajax code example Example: xml http request fetch fetch('my/url/').then(respone()=>{ console.log(response); }