traceur
Version:
ES6 to ES5 compiler
21 lines (20 loc) • 554 B
JavaScript
;
(function(global) {
'use strict';
if (global.$traceurRuntime) {
return;
}
function setupGlobals(global) {
global.Reflect = global.Reflect || {};
global.Reflect.global = global.Reflect.global || global;
}
setupGlobals(global);
var typeOf = function(x) {
return typeof x;
};
global.$traceurRuntime = {
options: {},
setupGlobals: setupGlobals,
typeof: typeOf
};
})(typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : (void 0));