new SourceMap(payload[, { lineLengths }])


版本历史
版本变更
v20.5.0

添加对 lineLengths 的支持。

创建新的 sourceMap 实例。

\Creates a new sourceMap instance.

payload 是一个对象,其键与 源映射格式 匹配:

\payload is an object with keys matching the Source map format:

lineLengths 是生成代码中每行长度的可选数组。

\lineLengths is an optional array of the length of each line in the generated code.

AltStyle によって変換されたページ (->オリジナル) /