{"id":5094,"date":"2022-02-21T22:58:50","date_gmt":"2022-02-21T14:58:50","guid":{"rendered":"http:\/\/123.57.164.21\/?p=5094"},"modified":"2022-02-21T22:58:50","modified_gmt":"2022-02-21T14:58:50","slug":"js-%e7%9a%84-new-%e5%88%b0%e5%ba%95%e6%98%af%e5%b9%b2%e4%bb%80%e4%b9%88%e7%9a%84%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/92it.top\/?p=5094","title":{"rendered":"JS \u7684 new \u5230\u5e95\u662f\u5e72\u4ec0\u4e48\u7684\uff1f"},"content":{"rendered":"\n<p>\u8f6c\u8f7d\uff1ahttps:\/\/zhuanlan.zhihu.com\/p\/23987456?refer=study-fe<\/p>\n\n\n\n<p>\u5927\u90e8\u5206\u8bb2 new \u7684\u6587\u7ae0\u4f1a\u4ece\u9762\u5411\u5bf9\u8c61\u7684\u601d\u8def\u8bb2\u8d77\uff0c\u4f46\u662f\u6211\u59cb\u7ec8\u8ba4\u4e3a\uff0c\u5728\u89e3\u91ca\u4e00\u4e2a\u4e8b\u7269\u7684\u65f6\u5019\uff0c\u4e0d\u5e94\u8be5\u5f15\u5165\u53e6\u4e00\u4e2a\u66f4\u590d\u6742\u7684\u4e8b\u7269\u3002<\/p>\n\n\n\n<p>\u4eca\u5929\u6211\u4ece\u300c\u7701\u4ee3\u7801\u300d\u7684\u89d2\u5ea6\u6765\u8bb2 new\u3002<\/p>\n\n\n\n<p>\u60f3\u8c61\u6211\u4eec\u5728\u5236\u4f5c\u4e00\u4e2a\u7b56\u7565\u7c7b\u6218\u4e89\u6e38\u620f\uff0c\u73a9\u5bb6\u53ef\u4ee5\u64cd\u4f5c\u4e00\u5806\u58eb\u5175\u653b\u51fb\u654c\u65b9\u3002<\/p>\n\n\n\n<p>\u6211\u4eec\u7740\u91cd\u6765\u7814\u7a76\u4e00\u4e0b\u8fd9\u4e2a\u6e38\u620f\u91cc\u9762\u7684\u300c\u5236\u9020\u58eb\u5175\u300d\u73af\u8282\u3002<\/p>\n\n\n\n<p>\u4e00\u4e2a\u58eb\u5175\u7684\u5728\u8ba1\u7b97\u673a\u91cc\u5c31\u662f\u4e00\u5806\u5c5e\u6027\uff0c\u5982\u4e0b\u56fe\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2022\/02\/\u56fe\u7247-37.png\" alt=\"\" class=\"wp-image-5095\" width=\"455\" height=\"449\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2022\/02\/\u56fe\u7247-37.png 796w, https:\/\/92it.top\/wp-content\/uploads\/2022\/02\/\u56fe\u7247-37-300x295.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2022\/02\/\u56fe\u7247-37-768x756.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2022\/02\/\u56fe\u7247-37-230x227.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2022\/02\/\u56fe\u7247-37-350x345.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2022\/02\/\u56fe\u7247-37-480x473.png 480w\" sizes=\"(max-width: 455px) 100vw, 455px\" \/><\/figure><\/div>\n\n\n\n<p>\u6211\u4eec\u53ea\u9700\u8981\u8fd9\u6837\u5c31\u53ef\u4ee5\u5236\u9020\u4e00\u4e2a\u58eb\u5175\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">var \u58eb\u5175 = {\n  ID: 1, \/\/ \u7528\u4e8e\u533a\u5206\u6bcf\u4e2a\u58eb\u5175\n  \u5175\u79cd:\"\u7f8e\u56fd\u5927\u5175\",\n  \u653b\u51fb\u529b:5,\n  \u751f\u547d\u503c:42, \n  \u884c\u8d70:function(){ \/*\u8d70\u4fe9\u6b65\u7684\u4ee3\u7801*\/},\n  \u5954\u8dd1:function(){ \/*\u72c2\u5954\u7684\u4ee3\u7801*\/  },\n  \u6b7b\u4ea1:function(){ \/*Go die*\/    },\n  \u653b\u51fb:function(){ \/*\u7cca\u4ed6\u718a\u8138*\/   },\n  \u9632\u5fa1:function(){ \/*\u62a4\u8138*\/       }\n}\n\n\u5175\u8425.\u5236\u9020(\u58eb\u5175)<\/pre>\n\n\n\n<p><strong>\u5236\u9020\u4e00\u767e\u4e2a\u58eb\u5175<\/strong><\/p>\n\n\n\n<p>\u5982\u679c\u9700\u8981\u5236\u9020 100 \u4e2a\u58eb\u5175\u600e\u4e48\u529e\u5462\uff1f<\/p>\n\n\n\n<p>\u5faa\u73af 100 \u6b21\u5427\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">var \u58eb\u5175\u4eec = []\nvar \u58eb\u5175\nfor(var i=0; i&lt;100; i++){\n  \u58eb\u5175 = {\n    ID: i, \/\/ ID \u4e0d\u80fd\u91cd\u590d\n    \u5175\u79cd:\"\u7f8e\u56fd\u5927\u5175\",\n    \u653b\u51fb\u529b:5,\n    \u751f\u547d\u503c:42, \n    \u884c\u8d70:function(){ \/*\u8d70\u4fe9\u6b65\u7684\u4ee3\u7801*\/}\uff0c\n    \u5954\u8dd1:function(){ \/*\u72c2\u5954\u7684\u4ee3\u7801*\/  },\n    \u6b7b\u4ea1:function(){ \/*Go die*\/    },\n    \u653b\u51fb:function(){ \/*\u7cca\u4ed6\u718a\u8138*\/   },\n    \u9632\u5fa1:function(){ \/*\u62a4\u8138*\/       }\n  }\n  \u58eb\u5175\u4eec.push(\u58eb\u5175)\n}\n\n\u5175\u8425.\u6279\u91cf\u5236\u9020(\u58eb\u5175\u4eec)\n<\/pre>\n\n\n\n<p>\u54ce\u5440\u597d\u7b80\u5355\u3002<\/p>\n\n\n\n<p><strong>\u8d28\u7591<\/strong><\/p>\n\n\n\n<p>\u4e0a\u9762\u7684\u4ee3\u7801\u5b58\u5728\u4e00\u4e2a\u95ee\u9898\uff1a\u6d6a\u8d39\u4e86\u5f88\u591a\u5185\u5b58\u3002<\/p>\n\n\n\n<ul><li>\u884c\u8d70\u3001\u5954\u8dd1\u3001\u6b7b\u4ea1\u3001\u653b\u51fb\u3001\u9632\u5fa1\u8fd9\u4e94\u4e2a\u52a8\u4f5c\u5bf9\u4e8e\u6bcf\u4e2a\u58eb\u5175\u5176\u5b9e\u662f\u4e00\u6837\u7684\uff0c\u53ea\u9700\u8981\u5404\u81ea\u5f15\u7528\u540c\u4e00\u4e2a\u51fd\u6570\u5c31\u53ef\u4ee5\u4e86\uff0c\u6ca1\u5fc5\u8981\u91cd\u590d\u521b\u5efa 100 \u4e2a\u884c\u8d70\u3001100\u4e2a\u5954\u8dd1\u2026\u2026<\/li><li>\u8fd9\u4e9b\u58eb\u5175\u7684\u5175\u79cd\u548c\u653b\u51fb\u529b\u90fd\u662f\u4e00\u6837\u7684\uff0c\u6ca1\u5fc5\u8981\u521b\u5efa 100 \u6b21\u3002<\/li><li>\u53ea\u6709 ID \u548c\u751f\u547d\u503c\u9700\u8981\u521b\u5efa 100 \u6b21\uff0c\u56e0\u4e3a\u6bcf\u4e2a\u58eb\u5175\u6709\u81ea\u5df1\u7684 ID \u548c\u751f\u547d\u503c\u3002<\/li><\/ul>\n\n\n\n<p><strong>\u6539\u8fdb<\/strong><\/p>\n\n\n\n<p>\u770b\u8fc7\u6211\u4eec\u7684\u4e13\u680f\u4ee5\u524d\u6587\u7ae0\uff08<a href=\"https:\/\/zhuanlan.zhihu.com\/p\/23090041?refer=study-fe\">JS \u539f\u578b\u94fe<\/a>\uff09\u7684\u540c\u5b66\u80af\u5b9a\u77e5\u9053\uff0c\u7528\u539f\u578b\u94fe\u53ef\u4ee5\u89e3\u51b3\u91cd\u590d\u521b\u5efa\u7684\u95ee\u9898\uff1a\u6211\u4eec\u5148\u521b\u5efa\u4e00\u4e2a\u300c\u58eb\u5175\u539f\u578b\u300d\uff0c\u7136\u540e\u8ba9\u300c\u58eb\u5175\u300d\u7684 __proto__ \u6307\u5411\u300c\u58eb\u5175\u539f\u578b\u300d<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">var \u58eb\u5175\u539f\u578b = {\n  \u5175\u79cd:\"\u7f8e\u56fd\u5927\u5175\",\n  \u653b\u51fb\u529b:5,\n  \u884c\u8d70:function(){ \/*\u8d70\u4fe9\u6b65\u7684\u4ee3\u7801*\/}\uff0c\n  \u5954\u8dd1:function(){ \/*\u72c2\u5954\u7684\u4ee3\u7801*\/  },\n  \u6b7b\u4ea1:function(){ \/*Go die*\/    },\n  \u653b\u51fb:function(){ \/*\u7cca\u4ed6\u718a\u8138*\/   },\n  \u9632\u5fa1:function(){ \/*\u62a4\u8138*\/       }\n}\nvar \u58eb\u5175\u4eec = []\nvar \u58eb\u5175\nfor(var i=0; i&lt;100; i++){\n  \u58eb\u5175 = {\n    ID: i, \/\/ ID \u4e0d\u80fd\u91cd\u590d\n    \u751f\u547d\u503c:42\n  }\n\n  \/*\u5b9e\u9645\u5de5\u4f5c\u4e2d\u4e0d\u8981\u8fd9\u6837\u5199\uff0c\u56e0\u4e3a __proto__ \u4e0d\u662f\u6807\u51c6\u5c5e\u6027*\/\n  \u58eb\u5175.__proto__ = \u58eb\u5175\u539f\u578b \n\n  \u58eb\u5175\u4eec.push(\u58eb\u5175)\n}\n\n\u5175\u8425.\u6279\u91cf\u5236\u9020(\u58eb\u5175\u4eec)<\/pre>\n\n\n\n<p><strong>\u4f18\u96c5\uff1f<\/strong><\/p>\n\n\n\n<p>\u6709\u4eba\u6307\u51fa\u521b\u5efa\u4e00\u4e2a\u58eb\u5175\u7684\u4ee3\u7801\u5206\u6563\u5728\u4e24\u4e2a\u5730\u65b9\u5f88\u4e0d\u4f18\u96c5\uff0c\u4e8e\u662f\u6211\u4eec\u7528\u4e00\u4e2a\u51fd\u6570\u628a\u8fd9\u4e24\u90e8\u5206\u8054\u7cfb\u8d77\u6765\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">function \u58eb\u5175(ID){\n  var \u4e34\u65f6\u5bf9\u8c61 = {}\n\n  \u4e34\u65f6\u5bf9\u8c61.__proto__ = \u58eb\u5175.\u539f\u578b\n\n  \u4e34\u65f6\u5bf9\u8c61.ID = ID\n  \u4e34\u65f6\u5bf9\u8c61.\u751f\u547d\u503c = 42\n  \n  return \u4e34\u65f6\u5bf9\u8c61\n}\n\n\u58eb\u5175.\u539f\u578b = {\n  \u5175\u79cd:\"\u7f8e\u56fd\u5927\u5175\",\n  \u653b\u51fb\u529b:5,\n  \u884c\u8d70:function(){ \/*\u8d70\u4fe9\u6b65\u7684\u4ee3\u7801*\/}\uff0c\n  \u5954\u8dd1:function(){ \/*\u72c2\u5954\u7684\u4ee3\u7801*\/  },\n  \u6b7b\u4ea1:function(){ \/*Go die*\/    },\n  \u653b\u51fb:function(){ \/*\u7cca\u4ed6\u718a\u8138*\/   },\n  \u9632\u5fa1:function(){ \/*\u62a4\u8138*\/       }\n}\n\n\/\/ \u4fdd\u5b58\u4e3a\u6587\u4ef6\uff1a\u58eb\u5175.js<\/pre>\n\n\n\n<p>\u7136\u540e\u5c31\u53ef\u4ee5\u6109\u5feb\u5730\u5f15\u7528\u300c\u58eb\u5175\u300d\u6765\u521b\u5efa\u58eb\u5175\u4e86\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">var \u58eb\u5175\u4eec = []\nfor(var i=0; i&lt;100; i++){\n  \u58eb\u5175\u4eec.push(\u58eb\u5175(i))\n}\n\n\u5175\u8425.\u6279\u91cf\u5236\u9020(\u58eb\u5175\u4eec)\n<\/pre>\n\n\n\n<p><strong>JS \u4e4b\u7236\u7684\u5173\u6000<\/strong><\/p>\n\n\n\n<p>JS \u4e4b\u7236\u521b\u5efa\u4e86 new \u5173\u952e\u5b57\uff0c\u53ef\u4ee5\u8ba9\u6211\u4eec\u5c11\u5199\u51e0\u884c\u4ee3\u7801\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2022\/02\/\u56fe\u7247-38-1024x723.png\" alt=\"\" class=\"wp-image-5096\" width=\"506\" height=\"357\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2022\/02\/\u56fe\u7247-38-1024x723.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2022\/02\/\u56fe\u7247-38-300x212.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2022\/02\/\u56fe\u7247-38-768x542.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2022\/02\/\u56fe\u7247-38-830x586.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2022\/02\/\u56fe\u7247-38-230x162.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2022\/02\/\u56fe\u7247-38-350x247.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2022\/02\/\u56fe\u7247-38-480x339.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2022\/02\/\u56fe\u7247-38.png 1298w\" sizes=\"(max-width: 506px) 100vw, 506px\" \/><\/figure><\/div>\n\n\n\n<p>\u53ea\u8981\u4f60\u5728\u58eb\u5175\u524d\u9762\u4f7f\u7528 new \u5173\u952e\u5b57\uff0c\u90a3\u4e48\u53ef\u4ee5\u5c11\u505a\u56db\u4ef6\u4e8b\u60c5\uff1a<\/p>\n\n\n\n<ul><li>\u4e0d\u7528\u521b\u5efa\u4e34\u65f6\u5bf9\u8c61\uff0c\u56e0\u4e3a new \u4f1a\u5e2e\u4f60\u505a\uff08<strong>\u4f60\u4f7f\u7528\u300cthis\u300d\u5c31\u53ef\u4ee5\u8bbf\u95ee\u5230\u4e34\u65f6\u5bf9\u8c61<\/strong>\uff09\uff1b<\/li><li>\u4e0d\u7528\u7ed1\u5b9a\u539f\u578b\uff0c\u56e0\u4e3a new \u4f1a\u5e2e\u4f60\u505a\uff08new \u4e3a\u4e86\u77e5\u9053\u539f\u578b\u5728\u54ea\uff0c\u6240\u4ee5\u6307\u5b9a\u539f\u578b\u7684\u540d\u5b57\u4e3a prototype\uff09\uff1b<\/li><li>\u4e0d\u7528 return \u4e34\u65f6\u5bf9\u8c61\uff0c\u56e0\u4e3a new \u4f1a\u5e2e\u4f60\u505a\uff1b<\/li><li>\u4e0d\u8981\u7ed9\u539f\u578b\u60f3\u540d\u5b57\u4e86\uff0c\u56e0\u4e3a new \u6307\u5b9a\u540d\u5b57\u4e3a prototype\u3002<\/li><\/ul>\n\n\n\n<p><strong>\u8fd9\u4e00\u6b21\u6211\u4eec\u7528 new \u6765\u5199<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">function \u58eb\u5175(ID){\n  this.ID = ID\n  this.\u751f\u547d\u503c = 42\n}\n\n\u58eb\u5175.prototype = {\n  \u5175\u79cd:\"\u7f8e\u56fd\u5927\u5175\",\n  \u653b\u51fb\u529b:5,\n  \u884c\u8d70:function(){ \/*\u8d70\u4fe9\u6b65\u7684\u4ee3\u7801*\/},\n  \u5954\u8dd1:function(){ \/*\u72c2\u5954\u7684\u4ee3\u7801*\/  },\n  \u6b7b\u4ea1:function(){ \/*Go die*\/    },\n  \u653b\u51fb:function(){ \/*\u7cca\u4ed6\u718a\u8138*\/   },\n  \u9632\u5fa1:function(){ \/*\u62a4\u8138*\/       }\n}\n\n\/\/ \u4fdd\u5b58\u4e3a\u6587\u4ef6\uff1a\u58eb\u5175.js<\/pre>\n\n\n\n<p>\u7136\u540e\u662f\u521b\u5efa\u58eb\u5175\uff08\u52a0\u4e86\u4e00\u4e2a new \u5173\u952e\u5b57\uff09\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">var \u58eb\u5175\u4eec = []\nfor(var i=0; i&lt;100; i++){\n  \u58eb\u5175\u4eec.push(new \u58eb\u5175(i))\n}\n\n\u5175\u8425.\u6279\u91cf\u5236\u9020(\u58eb\u5175\u4eec)\n<\/pre>\n\n\n\n<p><strong>new \u7684\u4f5c\u7528\uff0c\u5c31\u662f\u7701\u90a3\u4e48\u51e0\u884c\u4ee3\u7801\u3002\uff08\u4e5f\u5c31\u662f\u6240\u8c13\u7684\u8bed\u6cd5\u7cd6\uff09<\/strong><\/p>\n\n\n\n<p><strong>\u6ce8\u610f constructor \u5c5e\u6027<\/strong><\/p>\n\n\n\n<p>new \u64cd\u4f5c\u4e3a\u4e86\u8bb0\u5f55\u300c\u4e34\u65f6\u5bf9\u8c61\u662f\u7531\u54ea\u4e2a\u51fd\u6570\u521b\u5efa\u7684\u300d\uff0c\u6240\u4ee5\u9884\u5148\u7ed9\u300c\u58eb\u5175.prototype\u300d\u52a0\u4e86\u4e00\u4e2a constructor \u5c5e\u6027\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\u58eb\u5175.prototype = {\n  constructor: \u58eb\u5175\n}\n<\/pre>\n\n\n\n<p>\u5982\u679c\u4f60\u91cd\u65b0\u5bf9\u300c\u58eb\u5175.prototype\u300d\u8d4b\u503c\uff0c\u90a3\u4e48\u8fd9\u4e2a constructor \u5c5e\u6027\u5c31\u6ca1\u4e86\uff0c\u6240\u4ee5\u4f60\u5e94\u8be5\u8fd9\u4e48\u5199\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\u58eb\u5175.prototype.\u5175\u79cd = \"\u7f8e\u56fd\u5927\u5175\"\n\u58eb\u5175.prototype.\u653b\u51fb\u529b = 5\n\u58eb\u5175.prototype.\u884c\u8d70 = function(){ \/*\u8d70\u4fe9\u6b65\u7684\u4ee3\u7801*\/}\n\u58eb\u5175.prototype.\u5954\u8dd1 = function(){ \/*\u72c2\u5954\u7684\u4ee3\u7801*\/  }\n\u58eb\u5175.prototype.\u6b7b\u4ea1 = function(){ \/*Go die*\/    }\n\u58eb\u5175.prototype.\u653b\u51fb = function(){ \/*\u7cca\u4ed6\u718a\u8138*\/   }\n\u58eb\u5175.prototype.\u9632\u5fa1 = function(){ \/*\u62a4\u8138*\/       }\n<\/pre>\n\n\n\n<p>\u6216\u8005\u4f60\u4e5f\u53ef\u4ee5\u81ea\u5df1\u7ed9 constructor \u91cd\u65b0\u8d4b\u503c\uff1a<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\u58eb\u5175.prototype = {\n  constructor: \u58eb\u5175,\n  \u5175\u79cd:\"\u7f8e\u56fd\u5927\u5175\",\n  \u653b\u51fb\u529b:5,\n  \u884c\u8d70:function(){ \/*\u8d70\u4fe9\u6b65\u7684\u4ee3\u7801*\/},\n  \u5954\u8dd1:function(){ \/*\u72c2\u5954\u7684\u4ee3\u7801*\/  },\n  \u6b7b\u4ea1:function(){ \/*Go die*\/    },\n  \u653b\u51fb:function(){ \/*\u7cca\u4ed6\u718a\u8138*\/   },\n  \u9632\u5fa1:function(){ \/*\u62a4\u8138*\/       }\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u8f6c\u8f7d\uff1ahttps:\/\/zhuanlan.zhihu.com\/p\/23987456?refer=study-fe [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"_links":{"self":[{"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts\/5094"}],"collection":[{"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5094"}],"version-history":[{"count":1,"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts\/5094\/revisions"}],"predecessor-version":[{"id":5097,"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts\/5094\/revisions\/5097"}],"wp:attachment":[{"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5094"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5094"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5094"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}