assert.deepStrictEqual(actual, expected[, message])


测试 actualexpected 参数之间的深度相等性。 “深度”相等意味着子对象的可枚举“自身”属性也会按照以下规则递归地进行评估。

🌐 Tests for deep equality between the actual and expected parameters. "Deep" equality means that the enumerable "own" properties of child objects are recursively evaluated also by the following rules.