function getBrowserWindowObject() {
        var theWindow = null;
        try {
            /* eslint-disable-next-line no-undef */
            theWindow = window;
        } catch (e) {
            // deliberately do nothing
            // empty
        }

        return theWindow;
    }
@returns {(Window|null)} The browser window object, or null if this is not running in a browser environment