benchmark/index.js
function defineGlobals() {
  Object.keys(NODEIFY_FUNCTIONS).forEach((nodeifyName) => {
    global[nodeifyName] = NODEIFY_FUNCTIONS[nodeifyName].nodeify;
  });

  Object.keys(PROMISE_TYPES).forEach((promiseName) => {
    global[promiseName] = PROMISE_TYPES[promiseName].Promise;
  });
}
function defineGlobals() {
  Object.keys(NODEIFY_FUNCTIONS).forEach((nodeifyName) => {
    global[nodeifyName] = NODEIFY_FUNCTIONS[nodeifyName].nodeify;
  });

  Object.keys(PROMISE_TYPES).forEach((promiseName) => {
    global[promiseName] = PROMISE_TYPES[promiseName].Promise;
  });
}
function defineGlobals ( ) { Object . keys ( NODEIFY_FUNCTIONS ) . forEach ( ( nodeifyName ) => { global [ nodeifyName ] = NODEIFY_FUNCTIONS [ nodeifyName ] . nodeify ; } ) ; Object . keys ( PROMISE_TYPES ) . forEach ( ( promiseName ) => { global [ promiseName ] = PROMISE_TYPES [ promiseName ] . Promise ; } ) ; }
Exposes nodeify functions and promise types as globals so that they can
be accessed in the benchmark code.
@private
Exposes nodeify functions and promise types as globals so that they can be accessed in the benchmark code .