buffer.constants.MAX_STRING_LENGTH


新增于: v8.2.0
  • <integer> 单个 string 实例允许的最大长度。

    \<integer> The largest length allowed for a single string instance.

表示 string 基础类型可以拥有的最大 length,以 UTF-16 代码单元计算。

\Represents the largest length that a string primitive can have, counted in UTF-16 code units.

此值可能取决于正在使用的 JS 引擎。

\This value may depend on the JS engine that is being used.

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