time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

_root.js (300B)


      1 var freeGlobal = require('./_freeGlobal');
      2 
      3 /** Detect free variable `self`. */
      4 var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
      5 
      6 /** Used as a reference to the global object. */
      7 var root = freeGlobal || freeSelf || Function('return this')();
      8 
      9 module.exports = root;