code: function toFunction(s) {
    var result = (function() {
      try {
        return Script.runInNewContext('eval(' + s + ')')
      }
      catch (e) {
        return e.name + ': ' + e.message
      }
    }())
    return result
  }
docs: /* ------------------------------ Sandbox ------------------------------ Sandbox methods