code: function scopeEval(source, scope) {
    var keys = [];
    var values = [];
    for (var key in scope) {
      if (scope.hasOwnProperty(key)) {
        keys.push(key);
        values.push(scope[key]);
      }
    }
    keys.push(source);
    return Function.apply(null, keys).apply(null, values);
  }
docs: Based on https://github.com/alexdavid/scope-eval v0.0.3 (source: https://unpkg.com/scope-eval@0.0.3/scope_eval.js) This is basically just a wrapper around new Function()