code: function WritableStreamDefaultWriterAbort(writer, reason) {
    const stream = writer._ownerWritableStream;
  
    assert(stream !== undefined);
  
    return WritableStreamAbort(stream, reason);
  }
docs: A client of WritableStreamDefaultWriter may use these functions directly to bypass state check.