fetchJavaScriptFetchHardWhich is a difference between fetch() and XMLHttpRequest?1fetch is promise-based; XHR uses event callbacks2XHR is promise-based; fetch uses callbacks3fetch has better progress tracking than XHR4XHR works in all JavaScript runtimes; fetch does notBack to list