这些属性是什么?它们是属性或方法还是什么?它们看起来像标签。 super_,fail,equal(等于什么?),deepequal,它们是什么意思?你如何访问这些属性|方法|它们被称为什么?它们是否特定于节点?
// $ node #start the node repl
// > assert //outputs the below
{ [Function: ok]
AssertionError:
{ [Function: AssertionError]
super_:
{ [Function: Error]
captureStackTrace: [Function: captureStackTrace],
stackTraceLimit: 10 } },
fail: [Function: fail],
ok: [Circular],
equal: [Function: equal],
notEqual: [Function: notEqual],
deepEqual: [Function: deepEqual],
notDeepEqual: [Function: notDeepEqual],
strictEqual: [Function: strictEqual],
notStrictEqual: [Function: notStrictEqual],
throws: [Function],
doesNotThrow: [Function],
ifError: [Function] }