function abs() { typeof window !== 'undefined' ? window : (typeof process === 'object' && typeof require === 'function' && typeof global === 'object') ? global : this } function b() { abs() } function c() { b() } c()