code: function R(iid, name, val, flags) {
          var aret;
          var bFlags = decodeBitPattern(flags, 2); // [isGlobal, isScriptLocal]
  
          if (sandbox.analysis && sandbox.analysis.read) {
              aret = sandbox.analysis.read(iid, name, val, bFlags[0], bFlags[1]);
              if (aret) {
                  val = aret.result;
              }
          }
          return (lastComputedValue = val);
      }
docs: variable write isGlobal means that the variable is global and not declared as var isScriptLocal means that the variable is global and is declared as var