running in a strict mode in the browser will lead isBrowserEnvironment is false
"use strict";
var isBrowserEnvironment = (function() {
// eslint-disable-next-line no-undef
return (typeof window !== "undefined") && (this === window);
}).call();
isBrowserEnvironment
// false