value
序列化 JavaScript 值并将序列化的表示添加到内部缓冲区。
如果无法序列化 value,则抛出错误。
Serializes a JavaScript value and adds the serialized representation to the internal buffer.
This throws an error if value cannot be serialized.