writableStream.locked 属性默认值为 false,当有活动写入器连接到此 WritableStream 时,该属性会切换为 true。
writableStream.locked
false
WritableStream
true
🌐 The writableStream.locked property is false by default, and is switched to true while there is an active writer attached to this WritableStream.