prototype.toString.call(window.Promise) !== '[object Function]') { window.Promise = null; }