process.throwDeprecation


process.throwDeprecation 属性表示--throw-deprecation标记是否被设置到当前Node.js进程上。 请查看 warning eventemitWarning method 的文档, 来获取这个标记行为的更多信息。

The process.throwDeprecation property indicates whether the --throw-deprecation flag is set on the current Node.js process. See the documentation for the 'warning' event and the emitWarning() method for more information about this flag's behavior.