buffer.constants.MAX_STRING_LENGTH
新增于: v8.2.0
-
类型:<integer> 单个
string实例允许的最大长度。\Type: <integer> The largest length allowed for a single
stringinstance.
表示 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.