需要用到Assert模块:require('assert').几个基本函数:assert.fail(actual, expected, message, operator)#Throws an exception that displays the values for actual and expected separated by the provided operator.assert(va
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号