the Fetch API is totally mutable and can be replaced or removed by doing
window.fetch = null;
or,
var fetch = null;
or, the fetch property can be removed as well.
delete window.fetch;
This means, if a legacy code defines a global variable named fetch, the fetch API cannot be used.
Is there any way to access the original fetch function in JavaScript?