simplify ternary re: `__mainContext` and `this`

This commit is contained in:
Michael Bradley, Jr 2018-07-25 15:40:10 -05:00
parent c78ced2d6a
commit 406c1c3fce
1 changed files with 1 additions and 3 deletions

View File

@ -1,5 +1,3 @@
var __mainContext = __mainContext || (
typeof this !== 'undefined' ? this : (
typeof self !== 'undefined' ? self : void 0
)
this ? this : typeof self !== 'undefined' ? self : void 0
);