DEP0164:process.exit(code), process.exitCode 强制转换为整数
¥DEP0164: process.exit(code)
, process.exitCode
coercion to integer
类型:生命结束
¥Type: End-of-Life
undefined
、null
、整数和整数字符串(例如,'1'
)以外的值作为 process.exit()
中 code
参数的值以及分配给 process.exitCode
的值已弃用。
¥Values other than undefined
, null
, integer numbers, and integer strings
(e.g., '1'
) are deprecated as value for the code
parameter in
process.exit()
and as value to assign to process.exitCode
.