{"id":86,"date":"2021-05-29T21:35:15","date_gmt":"2021-05-29T13:35:15","guid":{"rendered":"https:\/\/test.7b2.com\/document\/86.html"},"modified":"2021-05-29T21:35:15","modified_gmt":"2021-05-29T13:35:15","slug":"%e4%b8%a5%e6%a0%bc%e7%9a%84%e6%96%ad%e8%a8%80%e6%a8%a1%e5%bc%8f","status":"publish","type":"document","link":"https:\/\/ail.icu\/document\/86","title":{"rendered":"\u4e25\u683c\u7684\u65ad\u8a00\u6a21\u5f0f"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u65b0\u589e\u4e8e: v0.1.21<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><code>options<\/code>\u00a0&lt;Object><ul><li><code>message<\/code>\u00a0&lt;string>\u00a0\u5982\u679c\u63d0\u4f9b\uff0c\u5219\u5c06\u9519\u8bef\u6d88\u606f\u8bbe\u7f6e\u4e3a\u6b64\u503c\u3002<\/li><li><code>actual<\/code>\u00a0&lt;any>\u00a0\u9519\u8bef\u5b9e\u4f8b\u4e0a\u7684\u00a0<code>actual<\/code>\u00a0\u5c5e\u6027\u5c06\u5305\u542b\u6b64\u503c\u3002<\/li><li><code>expected<\/code>\u00a0&lt;any>\u00a0\u9519\u8bef\u5b9e\u4f8b\u4e0a\u7684\u00a0<code>expected<\/code>\u00a0\u5c5e\u6027\u5c06\u5305\u542b\u6b64\u503c\u3002<\/li><li><code>operator<\/code>\u00a0&lt;string>\u00a0\u9519\u8bef\u5b9e\u4f8b\u4e0a\u7684\u00a0<code>operator<\/code>\u00a0\u5c5e\u6027\u5c06\u5305\u542b\u6b64\u503c\u3002<\/li><li><code>stackStartFn<\/code>\u00a0&lt;Function>\u00a0\u5982\u679c\u63d0\u4f9b\uff0c\u5219\u751f\u6210\u7684\u5806\u6808\u8ddf\u8e2a\u5c06\u79fb\u9664\u6240\u6709\u5e27\u76f4\u5230\u63d0\u4f9b\u7684\u51fd\u6570\u3002<\/li><\/ul><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Error<\/code>&nbsp;\u7684\u5b50\u7c7b\uff0c\u8868\u660e\u65ad\u8a00\u7684\u5931\u8d25\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6240\u6709\u5b9e\u4f8b\u90fd\u5305\u542b\u5185\u7f6e\u7684&nbsp;<code>Error<\/code>&nbsp;\u5c5e\u6027\uff08<code>message<\/code>&nbsp;\u548c&nbsp;<code>name<\/code>\uff09\u4ee5\u53ca\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><code>actual<\/code>\u00a0&lt;any>\u00a0\u8bbe\u7f6e\u65b9\u6cd5\u7684\u00a0<code>actual<\/code>\u00a0\u53c2\u6570\uff0c\u4f8b\u5982\u00a0<code>assert.strictEqual()<\/code>\u3002<\/li><li><code>expected<\/code>\u00a0&lt;any>\u00a0\u8bbe\u7f6e\u65b9\u6cd5\u7684\u00a0<code>expected<\/code>\u00a0\u53c2\u6570\uff0c\u4f8b\u5982\u00a0<code>assert.strictEqual()<\/code>\u3002<\/li><li><code>generatedMessage<\/code>\u00a0&lt;boolean>\u00a0\u8868\u660e\u6d88\u606f\u662f\u5426\u662f\u81ea\u52a8\u751f\u6210\u7684\u3002<\/li><li><code>code<\/code>\u00a0&lt;string>\u00a0\u59cb\u7ec8\u8bbe\u7f6e\u4e3a\u5b57\u7b26\u4e32\u00a0<code>ERR_ASSERTION<\/code>\u00a0\u4ee5\u8868\u660e\u9519\u8bef\u5b9e\u9645\u4e0a\u662f\u65ad\u8a00\u9519\u8bef\u3002<\/li><li><code>operator<\/code>\u00a0&lt;string>\u00a0\u8bbe\u7f6e\u4e3a\u4f20\u5165\u7684\u8fd0\u7b97\u7b26\u503c\u3002<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u65b0\u589e\u4e8e: v0.1.21 options\u00a0&lt;Object> message\u00a0&lt;string>\u00a0\u5982\u679c\u63d0\u4f9b\uff0c\u5219\u5c06\u9519\u8bef\u6d88\u606f\u8bbe\u7f6e\u4e3a\u6b64\u503c\u3002 actual\u00a0&lt;any>\u00a0\u9519\u8bef\u5b9e\u4f8b\u4e0a\u7684\u00a0actual\u00a0\u5c5e\u6027\u5c06\u5305\u542b\u6b64\u503c\u3002 expected\u00a0&lt;any>\u00a0\u9519\u8bef\u5b9e\u4f8b\u4e0a\u7684\u00a0expected\u00a0\u5c5e\u6027\u5c06\u5305\u542b\u6b64\u503c\u3002 operator\u00a0&lt;string>\u00a0\u9519\u8bef\u5b9e\u4f8b\u4e0a\u7684\u00a0operator\u00a0\u5c5e\u6027\u5c06\u5305\u542b\u6b64\u503c\u3002 stackStartFn\u00a0&lt;Function>\u00a0\u5982\u679c\u63d0\u4f9b\uff0c\u5219\u751f\u6210\u7684\u5806\u6808\u8ddf\u8e2a\u5c06\u79fb\u9664\u6240\u6709\u5e27\u76f4\u5230\u63d0\u4f9b\u7684\u51fd\u6570\u3002 Error&#038;<\/p>\n","protected":false},"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","tags":[],"document_cat":[8],"class_list":["post-86","document","type-document","status-publish","hentry","document_cat-node-js"],"_links":{"self":[{"href":"https:\/\/ail.icu\/index.php\/wp-json\/wp\/v2\/document\/86","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ail.icu\/index.php\/wp-json\/wp\/v2\/document"}],"about":[{"href":"https:\/\/ail.icu\/index.php\/wp-json\/wp\/v2\/types\/document"}],"replies":[{"embeddable":true,"href":"https:\/\/ail.icu\/index.php\/wp-json\/wp\/v2\/comments?post=86"}],"wp:attachment":[{"href":"https:\/\/ail.icu\/index.php\/wp-json\/wp\/v2\/media?parent=86"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ail.icu\/index.php\/wp-json\/wp\/v2\/tags?post=86"},{"taxonomy":"document_cat","embeddable":true,"href":"https:\/\/ail.icu\/index.php\/wp-json\/wp\/v2\/document_cat?post=86"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}