util.isDeepStrictEqual(val1, val2)


如果 val1val2 之间存在深度严格相等,则返回 true。否则,返回 false

¥Returns true if there is deep strict equality between val1 and val2. Otherwise, returns false.

有关深度严格相等的更多信息,请参见 assert.deepStrictEqual()

¥See assert.deepStrictEqual() for more information about deep strict equality.