DEP0164: process.exit(code), process.exitCode coercion to integer
类型: 仅文档
undefined
、null
、整数和整数字符串(例如 '1'
)以外的值已被弃用为 process.exit()
中 code
参数的值以及分配给 process.exitCode
的值。
Type: Documentation-only
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
.