{"id":168100,"date":"2024-05-08T16:16:47","date_gmt":"2024-05-08T08:16:47","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/168100.html"},"modified":"2024-05-08T16:16:55","modified_gmt":"2024-05-08T08:16:55","slug":"javascript-%e4%b8%ad%e7%9a%84%e5%a3%b0%e6%98%8e%e6%8f%90%e5%8d%87%e6%9c%89%e5%93%aa%e4%ba%9b%e7%94%a8%e5%a4%84","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/168100.html","title":{"rendered":"JavaScript \u4e2d\u7684\u58f0\u660e\u63d0\u5347\u6709\u54ea\u4e9b\u7528\u5904"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27034228\/3139a822-fb36-4cc2-b44e-72eb143205f2.webp\" alt=\"JavaScript \u4e2d\u7684\u58f0\u660e\u63d0\u5347\u6709\u54ea\u4e9b\u7528\u5904\" \/><\/p>\n<p><p>\u5728JavaScript\u4e2d\uff0c<strong>\u58f0\u660e\u63d0\u5347\uff08Hoisting\uff09<\/strong> \u5341\u5206\u6709\u7528\uff0c\u5176\u53ef\u4ee5\u8ba9\u6211\u4eec\u5728\u51fd\u6570\u5185\u90e8\u5728\u58f0\u660e\u4e4b\u524d\u4f7f\u7528\u53d8\u91cf\u548c\u51fd\u6570\u3001<strong>\u7406\u89e3\u4ee3\u7801\u6267\u884c\u987a\u5e8f<\/strong>\u3001<strong>\u907f\u514d\u521d\u59cb\u5316\u9519\u8bef<\/strong>\u3001\u4ee5\u53ca<strong>\u7f16\u5199\u66f4\u52a0\u6e05\u6670\u53ef\u7ef4\u62a4\u7684\u4ee3\u7801<\/strong>\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u58f0\u660e\u63d0\u5347\u4f7f\u51fd\u6570\u7684\u58f0\u660e\u53ef\u4ee5\u5728\u4ee3\u7801\u6587\u4ef6\u7684\u4efb\u4f55\u4f4d\u7f6e\u8c03\u7528\uff0c\u5b83\u4f7f\u5f97\u4ee3\u7801\u7684\u7ed3\u6784\u53ef\u4ee5\u66f4\u81ea\u7531\uff0c\u63d0\u4f9b\u4e86\u4e00\u79cd\u5728\u5b9a\u4e49\u51fd\u6570\u7ec6\u8282\u4e4b\u524d\u5148\u6982\u8ff0\u51fd\u6570\u7ed3\u6784\u7684\u80fd\u529b\u3002\u6bd4\u5982\uff0c\u5728\u5199\u4e00\u4e2a\u8f83\u5927\u7684\u51fd\u6570\u65f6\uff0c\u6211\u4eec\u53ef\u4ee5\u5148\u8c03\u7528\u51e0\u4e2a\u8f85\u52a9\u51fd\u6570\uff0c\u7136\u540e\u518d\u5728\u4e0b\u9762\u5b9a\u4e49\u8fd9\u4e9b\u8f85\u52a9\u51fd\u6570\uff0c\u8fd9\u6837\u4ee3\u7801\u9605\u8bfb\u8d77\u6765\u5c31\u50cf\u662f\u5148\u6709\u9ad8\u5c42\u6b21\u7684\u6982\u8ff0\uff0c\u518d\u9010\u6b65\u6df1\u5165\u7ec6\u8282\uff0c\u6709\u52a9\u4e8e\u5176\u4ed6\u5f00\u53d1\u8005\u66f4\u597d\u5730\u7406\u89e3\u4ee3\u7801\u7684\u903b\u8f91\u7ed3\u6784\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u58f0\u660e\u63d0\u5347\u7684\u5de5\u4f5c\u539f\u7406<\/h3>\n<\/p>\n<p><p>\u5728JavaScript\u6267\u884c\u4e0a\u4e0b\u6587\u4e2d\uff0c\u4ee3\u7801\u5728\u6267\u884c\u4e4b\u524d\u4f1a\u7ecf\u8fc7\u4e00\u4e2a\u521b\u5efa\u9636\u6bb5\uff0c\u5728\u6b64\u9636\u6bb5\u4e2d\uff0c\u51fd\u6570\u58f0\u660e\u548c\u53d8\u91cf\u58f0\u660e\u4f1a\u88ab\u63d0\u5347\u5230\u5b83\u4eec\u4f5c\u7528\u57df\u7684\u9876\u7aef\u3002<strong>\u53d8\u91cf\u63d0\u5347<\/strong> \u65f6\uff0c\u58f0\u660e\u4f1a\u88ab\u63d0\u5347\u4f46\u4e0d\u4f1a\u521d\u59cb\u5316\uff0c\u610f\u5473\u7740\u5728\u58f0\u660e\u4e4b\u524d\u8fd9\u4e9b\u53d8\u91cf\u7684\u503c\u4e3a <code>undefined<\/code>\u3002\u4e0e\u4e4b\u76f8\u5bf9\uff0c<strong>\u51fd\u6570\u63d0\u5347<\/strong> \u5141\u8bb8\u6211\u4eec\u5728\u5b9e\u9645\u5b9a\u4e49\u51fd\u6570\u4e4b\u524d\u8c03\u7528\u5b83\u4eec\u3002\u8fd9\u610f\u5473\u7740\u5728\u4e00\u4e2a\u51fd\u6570\u4f53\u5185\u90e8\uff0c\u4e0d\u7ba1\u51fd\u6570\u5728\u54ea\u91cc\u88ab\u8c03\u7528\uff0c\u51fd\u6570\u58f0\u660e\u90fd\u5c06\u88ab\u79fb\u81f3\u9876\u90e8\u3002<\/p>\n<\/p>\n<p><h4>\u4f8b\u5b50\u7684\u5206\u6790<\/h4>\n<\/p>\n<p><p>\u4f8b\u5982\uff0c\u8003\u8651\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-javascript\">console.log(foo); \/\/ \u8f93\u51faundefined<\/p>\n<p>var foo = &#039;Hello World!&#039;;<\/p>\n<p>doSomething();<\/p>\n<p>function doSomething() {<\/p>\n<p>  console.log(&#039;do something&#039;);<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c\u53d8\u91cf <code>foo<\/code> \u548c\u51fd\u6570 <code>doSomething()<\/code> \u7684\u58f0\u660e\u5728\u6267\u884c\u4e4b\u524d\u90fd\u4f1a\u88ab\u63d0\u5347\u5230\u5b83\u4eec\u5404\u81ea\u7684\u4f5c\u7528\u57df\u9876\u7aef\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u58f0\u660e\u63d0\u5347\u7684\u7528\u5904<\/h3>\n<\/p>\n<p><h4><strong>\u7406\u89e3\u6267\u884c\u6d41\u7a0b<\/strong><\/h4>\n<\/p>\n<p><p>\u58f0\u660e\u63d0\u5347\u7684\u6982\u5ff5\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u4eba\u5458\u66f4\u597d\u5730\u7406\u89e3JavaScript\u4ee3\u7801\u7684\u6267\u884c\u6d41\u7a0b\u3002\u4e86\u89e3\u53d8\u91cf\u548c\u51fd\u6570\u58f0\u660e\u5728\u6267\u884c\u4e4b\u524d\u5c31\u5df2\u7ecf\u5b58\u5728\u4e8e\u5b83\u4eec\u76f8\u5e94\u7684\u4f5c\u7528\u57df\u4e2d\uff0c\u6709\u5229\u4e8e\u6392\u67e5\u9519\u8bef\uff0c\u4f8b\u5982\u9632\u6b62\u5f15\u7528\u9519\u8bef\u3002<\/p>\n<\/p>\n<p><h4><strong>\u7ec4\u7ec7\u4ee3\u7801\u7ed3\u6784<\/strong><\/h4>\n<\/p>\n<p><p>\u53e6\u4e00\u4e2a\u58f0\u660e\u63d0\u5347\u7684\u7528\u5904\u662f\u80fd\u591f\u8ba9\u5f00\u53d1\u8005\u5728\u7f16\u7801\u65f6\u6709\u66f4\u5927\u7684\u7075\u6d3b\u6027\u3002\u56e0\u4e3a\u51fd\u6570\u53ef\u4ee5\u5728\u5b9e\u9645\u5b9a\u4e49\u4e4b\u524d\u88ab\u8c03\u7528\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5c06\u91cd\u8981\u7684\u4e1a\u52a1\u903b\u8f91\u7f6e\u4e8e\u9876\u90e8\uff0c\u800c\u8f85\u52a9\u7684\u51fd\u6570\u5b9a\u4e49\u5219\u53ef\u4ee5\u653e\u5728\u4e0b\u9762\u3002\u8fd9\u53ef\u4ee5\u5e2e\u52a9\u8bfb\u8005\u5728\u9605\u8bfb\u4ee3\u7801\u65f6\u9996\u5148\u5173\u6ce8\u6838\u5fc3\u903b\u8f91\uff0c\u800c\u4e0d\u662f\u5148\u88ab\u51fd\u6570\u5b9a\u4e49\u6240\u5206\u6563\u6ce8\u610f\u529b\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u51fd\u6570\u58f0\u660e\u4e0e\u53d8\u91cf\u58f0\u660e\u7684\u63d0\u5347<\/h3>\n<\/p>\n<p><p>\u63d0\u5347\u884c\u4e3a\u5728\u51fd\u6570\u58f0\u660e\u548c\u53d8\u91cf\u58f0\u660e\u4e4b\u95f4\u6709\u6240\u4e0d\u540c\u3002<strong>\u51fd\u6570\u58f0\u660e<\/strong> \u5b8c\u6574\u5730\u63d0\u5347\uff0c\u8fd9\u610f\u5473\u7740\u51fd\u6570\u53ef\u4ee5\u5728\u5b9a\u4e49\u4e4b\u524d\u8c03\u7528\u3002\u76f8\u6bd4\u4e4b\u4e0b\uff0c<strong>\u53d8\u91cf\u58f0\u660e<\/strong> \u53ea\u63d0\u5347\u540d\u79f0\uff0c\u4e0d\u63d0\u5347\u8d4b\u503c\u3002<\/p>\n<\/p>\n<p><h4>\u51fd\u6570\u58f0\u660e\u7684\u63d0\u5347<\/h4>\n<\/p>\n<p><p>\u51fd\u6570\u58f0\u660e\u7684\u63d0\u5347\u5141\u8bb8\u5f00\u53d1\u8005\u5728\u5b9a\u4e49\u51fd\u6570\u4e4b\u524d\u5f15\u7528\u5b83\u4eec\u3002\u8fd9\u662f\u56e0\u4e3aJavaScript\u89e3\u91ca\u5668\u4f1a\u628a\u51fd\u6570\u58f0\u660e\u63d0\u5347\u5230\u5f53\u524d\u4f5c\u7528\u57df\u7684\u6700\u9876\u7aef\u3002<\/p>\n<\/p>\n<p><h4>\u53d8\u91cf\u58f0\u660e\u7684\u63d0\u5347<\/h4>\n<\/p>\n<p><p>\u5bf9\u4e8e\u53d8\u91cf\uff0c\u53ea\u6709\u58f0\u660e\u672c\u8eab\u4f1a\u88ab\u63d0\u5347\uff0c\u521d\u59cb\u5316\u6216\u8d4b\u503c\u5219\u7559\u5728\u539f\u5730\u3002\u8fd9\u53ef\u80fd\u5bfc\u81f4\u53d8\u91cf\u5728\u4ee3\u7801\u4e2d\u7684\u5b9e\u9645\u503c\u4e0e\u5f00\u53d1\u8005\u9884\u671f\u7684\u4e0d\u4e00\u6837\uff0c\u56e0\u4e3a\u5b83\u4eec\u5728\u5b9e\u9645\u88ab\u8d4b\u503c\u524d\u90fd\u662f <code>undefined<\/code>\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u63d0\u5347\u5bfc\u81f4\u7684\u5c40\u9650\u6027\u548c\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><p>\u5c3d\u7ba1\u58f0\u660e\u63d0\u5347\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u5f88\u6709\u7528\uff0c\u4f46\u4e5f\u6709\u53ef\u80fd\u5bfc\u81f4\u4ee3\u7801\u4e0d\u6613\u7406\u89e3\uff0c\u5c24\u5176\u662f\u5bf9\u4e8e\u521d\u5b66\u8005\u3002\u4f8b\u5982\uff0c\u76f8\u5173\u53d8\u91cf\u548c\u51fd\u6570\u53ef\u80fd\u5206\u6563\u5728\u4ee3\u7801\u7684\u5404\u4e2a\u90e8\u5206\uff0c\u5bfc\u81f4\u4ee3\u7801\u7684\u6267\u884c\u6d41\u7a0b\u4e0d\u662f\u975e\u5e38\u660e\u663e\u3002<\/p>\n<\/p>\n<p><h4>\u5c40\u9650\u6027<\/h4>\n<\/p>\n<p><p>\u4e00\u4e9b\u7f16\u7801\u98ce\u683c\u548c\u6a21\u5f0f\uff0c\u5982\u7acb\u5373\u6267\u884c\u51fd\u6570\u8868\u8fbe\u5f0f\uff08IIFE\uff09\u6216\u6a21\u5757\u6a21\u5f0f\uff0c\u901a\u8fc7\u9650\u5236\u58f0\u660e\u63d0\u5347\u7684\u5f71\u54cd\u8303\u56f4\uff0c\u53ef\u4ee5\u4f7f\u4ee3\u7801\u66f4\u52a0\u6a21\u5757\u5316\u548c\u53ef\u9884\u6d4b\u3002\u6b64\u5916\uff0cES6\u4e2d\u7684 <code>let<\/code> \u548c <code>const<\/code> \u58f0\u660e\u4e0d\u4f1a\u88ab\u63d0\u5347\uff0c\u8fd9\u4fc3\u4f7f\u5f00\u53d1\u8005\u5728\u58f0\u660e\u53d8\u91cf\u65f6\u66f4\u52a0\u660e\u786e\u5730\u8003\u8651\u4f5c\u7528\u57df\u3002<\/p>\n<\/p>\n<p><h4>\u6ce8\u610f\u4e8b\u9879<\/h4>\n<\/p>\n<p><p>\u5f00\u53d1\u8005\u5728\u7f16\u5199\u4ee3\u7801\u65f6\u9700\u8981\u6ce8\u610f\u58f0\u660e\u63d0\u5347\u53ef\u80fd\u5e26\u6765\u7684\u9677\u9631\u3002\u4f8b\u5982\uff0c\u5e94\u8be5\u907f\u514d\u540c\u540d\u51fd\u6570\u548c\u53d8\u91cf\u58f0\u660e\uff0c\u56e0\u4e3a\u8fd9\u53ef\u80fd\u5bfc\u81f4\u96be\u4ee5\u8c03\u8bd5\u7684\u95ee\u9898\u3002\u6b64\u5916\uff0c\u901a\u8fc7\u9002\u5f53\u5730\u7ec4\u7ec7\u4ee3\u7801\uff0c\u6bd4\u5982\u5c06\u6240\u6709\u7684\u53d8\u91cf\u58f0\u660e\u7f6e\u4e8e\u51fd\u6570\u6216\u4f5c\u7528\u57df\u7684\u9876\u90e8\uff0c\u53ef\u4ee5\u51cf\u5c11\u56e0\u63d0\u5347\u5bfc\u81f4\u7684\u6df7\u6dc6\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u58f0\u660e\u63d0\u5347\u662fJavaScript\u4e2d\u7684\u4e00\u4e2a\u91cd\u8981\u6982\u5ff5\uff0c\u5b83\u5f71\u54cd\u4e86\u53d8\u91cf\u548c\u51fd\u6570\u5728\u4ee3\u7801\u4e2d\u7684\u53ef\u7528\u6027\u3002\u901a\u8fc7\u4e86\u89e3\u548c\u5229\u7528\u58f0\u660e\u63d0\u5347\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5199\u51fa\u66f4\u52a0\u7ed3\u6784\u5316\u5e76\u4e14\u6613\u4e8e\u7406\u89e3\u7684\u4ee3\u7801\u3002\u7136\u800c\uff0c\u4e5f\u8981\u6ce8\u610f\u907f\u514d\u7531\u4e8e\u63d0\u5347\u5bfc\u81f4\u7684\u6f5c\u5728\u95ee\u9898\uff0c\u786e\u4fdd\u4ee3\u7801\u7684\u6e05\u6670\u6027\u548c\u53ef\u7ef4\u62a4\u6027\u3002<\/p>\n<\/p>\n<p><p>\u5728\u7f16\u5199JavaScript\u4ee3\u7801\u65f6\uff0c\u8ba4\u8bc6\u5230\u58f0\u660e\u63d0\u5347\u5e76\u5728\u9700\u8981\u65f6\u5229\u7528\u5b83\uff0c\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u7f16\u5199\u51fa\u66f4\u52a0\u9ad8\u6548\u548c\u53ef\u9760\u7684\u7a0b\u5e8f\u3002\u540c\u65f6\uff0c\u4f7f\u7528ES6\u4e2d\u7684 <code>let<\/code> \u548c <code>const<\/code> \u53ef\u4ee5\u51cf\u5c11\u58f0\u660e\u63d0\u5347\u76f8\u5173\u7684\u590d\u6742\u6027\uff0c\u8fd9\u662f\u7f16\u5199\u73b0\u4ee3JavaScript\u7684\u4e00\u4e2a\u597d\u4e60\u60ef\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u4ec0\u4e48\u662f JavaScript \u7684\u58f0\u660e\u63d0\u5347\uff1f<\/strong><br \/>\nJavaScript \u7684\u58f0\u660e\u63d0\u5347\u662f\u6307\u5728\u4ee3\u7801\u6267\u884c\u4e4b\u524d\uff0cJavaScript \u5f15\u64ce\u4f1a\u5c06\u53d8\u91cf\u7684\u58f0\u660e\u548c\u51fd\u6570\u7684\u58f0\u660e\u63d0\u524d\u5230\u4f5c\u7528\u57df\u7684\u9876\u90e8\u3002\u8fd9\u610f\u5473\u7740\u53ef\u4ee5\u5728\u53d8\u91cf\u6216\u51fd\u6570\u58f0\u660e\u4e4b\u524d\u4f7f\u7528\u5b83\u4eec\uff0c\u800c\u4e0d\u4f1a\u5f15\u53d1\u9519\u8bef\u3002<\/p>\n<p><strong>2. \u58f0\u660e\u63d0\u5347\u80fd\u89e3\u51b3\u54ea\u4e9b\u95ee\u9898\uff1f<\/strong><br \/>\n\u58f0\u660e\u63d0\u5347\u53ef\u4ee5\u89e3\u51b3\u5728\u4ee3\u7801\u4e2d\u5b9a\u4e49\u51fd\u6570\u4e4b\u524d\u8c03\u7528\u51fd\u6570\u7684\u95ee\u9898\uff0c\u4ee5\u53ca\u5728\u53d8\u91cf\u58f0\u660e\u4e4b\u524d\u4f7f\u7528\u53d8\u91cf\u7684\u95ee\u9898\u3002\u8fd9\u6837\u53ef\u4ee5\u8ba9\u6211\u4eec\u66f4\u7075\u6d3b\u5730\u7ec4\u7ec7\u548c\u7f16\u5199\u4ee3\u7801\u3002<\/p>\n<p><strong>3. \u5982\u4f55\u5408\u7406\u5229\u7528\u58f0\u660e\u63d0\u5347\uff1f<\/strong><br \/>\n\u8981\u5408\u7406\u5229\u7528\u58f0\u660e\u63d0\u5347\uff0c\u53ef\u4ee5\u9075\u5faa\u4ee5\u4e0b\u51e0\u70b9\u539f\u5219\uff1a<\/p>\n<ul>\n<li>\u5728\u4ee3\u7801\u7684\u9876\u90e8\u58f0\u660e\u53d8\u91cf\uff0c\u8fd9\u6837\u53ef\u4ee5\u4fdd\u6301\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\uff0c\u907f\u514d\u53d8\u91cf\u5728\u4e0d\u540c\u7684\u5730\u65b9\u88ab\u91cd\u590d\u58f0\u660e\u3002<\/li>\n<li>\u5728\u4f7f\u7528\u51fd\u6570\u4e4b\u524d\u5148\u58f0\u660e\u51fd\u6570\uff0c\u8fd9\u6837\u53ef\u4ee5\u4fdd\u8bc1\u51fd\u6570\u5728\u4efb\u4f55\u5730\u65b9\u90fd\u80fd\u88ab\u8c03\u7528\u3002<\/li>\n<li>\u907f\u514d\u5728\u4f5c\u7528\u57df\u4e2d\u91cd\u590d\u58f0\u660e\u53d8\u91cf\u548c\u51fd\u6570\uff0c\u8fd9\u6837\u53ef\u4ee5\u907f\u514d\u6f5c\u5728\u7684\u547d\u540d\u51b2\u7a81\u548c\u9519\u8bef\u3002<\/li>\n<\/ul>\n<p>\u901a\u8fc7\u5408\u7406\u5229\u7528\u58f0\u660e\u63d0\u5347\uff0c\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u53ef\u7ef4\u62a4\u6027\uff0c\u540c\u65f6\u907f\u514d\u4e00\u4e9b\u5e38\u89c1\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728JavaScript\u4e2d\uff0c\u58f0\u660e\u63d0\u5347\uff08Hoisting\uff09 \u5341\u5206\u6709\u7528\uff0c\u5176\u53ef\u4ee5\u8ba9\u6211\u4eec\u5728\u51fd\u6570\u5185\u90e8\u5728\u58f0\u660e\u4e4b\u524d\u4f7f\u7528\u53d8\u91cf\u548c\u51fd [&hellip;]","protected":false},"author":3,"featured_media":168112,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/168100"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=168100"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/168100\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/168112"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=168100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=168100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=168100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}