docs: private Scriptable makeIteratorResult(Context cx, Scriptable scope, boolean done, Object value) {
          Scriptable iteratorResult = cx.newObject(scope);
          ScriptableObject.putProperty(iteratorResult, VALUE_PROPERTY, value);
          ScriptableObject.putProperty(iteratorResult, DONE_PROPERTY, done);
          return iteratorResult;
      }