code: function W(iid, name, val, lhs, flags) {
          var bFlags = decodeBitPattern(flags, 3); //[isGlobal, isScriptLocal, isDeclaration]
          var aret;
          if (sandbox.analysis && sandbox.analysis.write) {
              aret = sandbox.analysis.write(iid, name, val, lhs, bFlags[0], bFlags[1]);
              if (aret) {
                  val = aret.result;
              }
          }
          if (!bFlags[2]) {
              return (lastComputedValue = val);
          } else {
              lastComputedValue = undefined;
              return val;
          }
      }
docs: variable write