{"id":317,"date":"2026-05-17T05:37:47","date_gmt":"2026-05-16T21:37:47","guid":{"rendered":"https:\/\/junai.ai\/blog\/js-if-switch-6\/"},"modified":"2026-05-17T07:11:37","modified_gmt":"2026-05-16T23:11:37","slug":"js-if-switch-6","status":"publish","type":"post","link":"https:\/\/junai.ai\/blog\/js-if-switch-6\/","title":{"rendered":"\uc870\uac74\ubb38 \u2014 if\u00b7else\u00b7switch\u00b7\uc0bc\ud56d (\uae30\ucd08 6\ud3b8)"},"content":{"rendered":"\n<!-- WordPress REST API \ubc1c\ud589\uc6a9 HTML (\uc790\ub3d9 \uc0dd\uc131) -->\n<!-- WP-FEATURED-MEDIA-ID: 532 -->\n<div style=\"max-width:800px;margin:0 auto;\">\n<style>\n\/* js-textbook \u2014 PostgreSQL \uad50\uc7ac \ub3d9\uc77c \ud314\ub808\ud2b8 *\/\n:root {\n  --color-primary: #336791;\n  --color-accent: #60a5fa;\n  --color-bg: #fafafa;\n  --color-bg-card: #ffffff;\n  --color-text: #1e293b;\n  --color-text-muted: #64748b;\n  --hero-start: #0f172a;\n  --hero-end: #336791;\n  --font-body: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;\n  --size-body: 17px;\n  --line-height: 1.75;\n}\n* { box-sizing: border-box; }\n.container { max-width: 760px; margin: 0 auto; padding: 0 22px 80px; }\n.hero { background: linear-gradient(135deg, var(--hero-start) 0%, var(--hero-end) 100%); color: #fff; padding: 72px 22px 56px; text-align: center; }\n.hero .badge { display: inline-block; background: rgba(96,165,250,0.18); color: var(--color-accent); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 18px; }\n.hero h1 { margin: 0 0 18px; font-size: 36px; line-height: 1.3; letter-spacing: -0.3px; }\n.hero p.sub { margin: 0 auto; max-width: 580px; font-size: 17px; color: #bfdbfe; }\n.hero img { width: 100%; max-width: 720px; height: auto; margin: 36px auto 0; display: block; border-radius: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.3); }\n.meta { display: flex; gap: 14px; justify-content: center; margin-top: 20px; font-size: 13px; color: #93c5fd; flex-wrap: wrap; }\n.meta span::before { content: \"\u00b7\"; margin-right: 14px; color: #1e3a8a; }\n.meta span:first-child::before { content: \"\"; margin: 0; }\narticle { background: var(--color-bg-card); margin-top: -36px; padding: 44px 28px; border-radius: 14px; box-shadow: 0 2px 18px rgba(0,0,0,0.06); }\narticle p { margin: 0 0 18px; }\nh2 { font-size: 28px; line-height: 1.35; letter-spacing: -0.3px; margin: 48px 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--color-primary); }\nh2:first-of-type { margin-top: 8px; }\nh3 { font-size: 21px; line-height: 1.4; margin: 30px 0 12px; color: var(--color-primary); }\ncode { background: #f1f5f9; color: #0f172a; padding: 2px 6px; border-radius: 4px; font-family: 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 0.92em; }\npre { background: #0f172a; color: #e2e8f0; padding: 18px 20px; border-radius: 10px; overflow-x: auto; font-size: 14.5px; line-height: 1.65; margin: 18px 0; }\npre code { background: transparent; color: inherit; padding: 0; }\nul, ol { margin: 0 0 18px; padding-left: 24px; }\nli { margin-bottom: 8px; }\nstrong { color: #0f172a; }\n.databox { background: #eff6ff; border-left: 4px solid var(--color-primary); padding: 18px 20px; border-radius: 6px; margin: 22px 0; }\n.databox p { margin: 0 0 8px; }\n.databox p:last-child { margin: 0; }\n.databox strong { color: var(--color-primary); }\n.warnbox { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); border-left: 4px solid #d97706; padding: 18px 20px; border-radius: 6px; margin: 22px 0; }\n.warnbox strong { color: #92400e; }\n.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 22px 0; }\ntable { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--color-bg-card); }\nth, td { padding: 11px 12px; text-align: left; border-bottom: 1px solid #e2e8f0; vertical-align: top; }\nth { background: #f1f5f9; font-weight: 700; color: #0f172a; }\ntd:first-child, th:first-child { font-weight: 700; }\n.cta { background: linear-gradient(135deg, #336791 0%, #60a5fa 100%); color: #fff; padding: 30px 24px; border-radius: 12px; margin-top: 44px; text-align: center; }\n.cta h3 { color: #fff; margin: 0 0 10px; }\n.cta p { margin: 0; color: #dbeafe; }\n.series-nav { background: #eff6ff; padding: 18px 22px; border-radius: 10px; margin-top: 24px; font-size: 14.5px; color: var(--color-text-muted); }\n.series-nav strong { color: var(--color-primary); }\n@media (max-width: 480px) {\n  .hero { padding: 52px 18px 44px; }\n  .hero h1 { font-size: 26px; }\n  .hero p.sub { font-size: 15px; }\n  article { padding: 28px 18px; border-radius: 10px; }\n  h2 { font-size: 22px; }\n  h3 { font-size: 18px; }\npre { font-size: 13px; padding: 14px 16px; }\n}\n@media (max-width: 560px) {\n  .tablewrap table, .tablewrap thead, .tablewrap tbody, .tablewrap tr, .tablewrap th, .tablewrap td { display: block; width: auto; }\n  .tablewrap thead { display: none; }\n  .tablewrap tr { margin: 0 0 14px; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; }\n  .tablewrap td { border: none; border-bottom: 1px solid #f1f5f9; padding: 9px 14px; }\n  .tablewrap td:first-child { background: #eff6ff; font-weight: 800; font-size: 15.5px; }\n  .tablewrap td:last-child { border-bottom: none; }\n  .tablewrap td[data-label]::before { content: attr(data-label) \" \u2014 \"; font-weight: 700; color: var(--color-primary); }\n}\n<\/style>\n<header class=\"hero\">\n  <span class=\"badge\">\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \uad50\uc7ac \u00b7 6\ud3b8 \/ 26\ud3b8<\/span>\n  <h1>\uc870\uac74\ubb38 \u2014 if\u00b7else\u00b7switch\u00b7\uc0bc\ud56d<\/h1>\n  <p class=\"sub\">\ubd84\uae30 \ud45c\ud604 4\uac00\uc9c0\uc640 \ub2e8\ub77d \ud3c9\uac00 \ud328\ud134. \uc785\ubb38\uc5d0\uc11c \uae30\ucd08\ub85c \ub118\uc5b4\uac00\ub294 \uccab \ud3b8.<\/p>\n  <div class=\"meta\"><span>\uae30\ucd08<\/span><span>\uc77d\ub294 \uc2dc\uac04 6\ubd84<\/span><span>2026-05-17<\/span><\/div>\n  <img decoding=\"async\" src=\"https:\/\/junai.ai\/blog\/wp-content\/uploads\/2026\/05\/hero-177.jpg\" alt=\"JS \ubd84\uae30\ubb38 if\/switch\/\uc0bc\ud56d \uc758 \ud750\ub984\uc774 \ub2e4\uc774\uc5b4\uadf8\ub7a8\uc73c\ub85c \ud45c\ud604\ub41c \uc77c\ub7ec\uc2a4\ud2b8\">\n<\/header>\n\n<div class=\"container\">\n<article>\n\n<p>\uc870\uac74\uc740 \uac70\uc758 \ubaa8\ub4e0 \ud504\ub85c\uadf8\ub7a8\uc758 \ubf08\ub300\uc785\ub2c8\ub2e4. &#8220;X \uba74 Y, \uc544\ub2c8\uba74 Z&#8221; \u2014 JS \uac00 \uc774\uac78 \ud45c\ud604\ud558\ub294 \ubc29\ubc95\uc740 4\uac00\uc9c0\uc785\ub2c8\ub2e4. <strong>if\/else if\/else<\/strong>, <strong>switch<\/strong>, <strong>\uc0bc\ud56d \uc5f0\uc0b0\uc790(?:)<\/strong>, \uadf8\ub9ac\uace0 \uc9e7\uc740 \ubd84\uae30\uc5d0 \uc4f0\ub294 <strong>\ub2e8\ub77d \ud3c9\uac00(&#038;&#038;\u00b7||\u00b7??)<\/strong>. 6\ud3b8\uc5d0\uc11c \uac01\uac01 \uc5b8\uc81c \uc4f0\ub294\uc9c0 \uc815\ub9ac\ud569\ub2c8\ub2e4.<\/p>\n\n<h2>if \u00b7 else if \u00b7 else \u2014 \uae30\ubcf8\ud615<\/h2>\n\n<pre><code>const age = 19;\n\nif (age &gt;= 19) {\n  console.log(\"\uc131\uc778\");\n} else if (age &gt;= 13) {\n  console.log(\"\uccad\uc18c\ub144\");\n} else {\n  console.log(\"\uc5b4\ub9b0\uc774\");\n}<\/code><\/pre>\n\n<p>\ud55c \uc904\uc9dc\ub9ac\ub294 \uc911\uad04\ud638\ub97c \uc0dd\ub7b5\ud574\ub3c4 \ub418\uc9c0\ub9cc \u2014 <strong>\ud56d\uc0c1 \uc911\uad04\ud638\ub97c \uc4f0\ub294 \uac83\uc744 \uad8c\uc7a5<\/strong>\ud569\ub2c8\ub2e4. \ub2e4\uc74c\uacfc \uac19\uc740 \ubc84\uadf8\ub97c \ucc28\ub2e8\ud574 \uc90d\ub2c8\ub2e4.<\/p>\n\n<pre><code>\/\/ \uc911\uad04\ud638 \uc5c6\uc774\nif (loggedIn)\n  showProfile();\n  showSettings();   \/\/ \u2190 if \uc640 \ubb34\uad00, \ud56d\uc0c1 \uc2e4\ud589\ub428!\n\n\/\/ \uc911\uad04\ud638\uc640 \ud568\uaed8 (\uc548\uc804)\nif (loggedIn) {\n  showProfile();\n  showSettings();\n}<\/code><\/pre>\n\n<div class=\"warnbox\">\n  <p><strong>Linter \uac00 \uac15\uc81c.<\/strong> ESLint \uc758 <code>curly: \"all\"<\/code> \uaddc\uce59\uc744 \ucf1c\ub450\uba74 \uc911\uad04\ud638 \uc5c6\ub294 if \uac00 \ube68\uac1b\uac8c \ud45c\uc2dc\ub429\ub2c8\ub2e4. Apple \uc758 2014\ub144 &#8220;goto fail&#8221; \ubc84\uadf8\uac00 \uc815\ud655\ud788 \uc774 \ud328\ud134\uc5d0\uc11c \ub0ac\uc2b5\ub2c8\ub2e4 \u2014 \uc791\uc740 \ucee8\ubca4\uc158 \ud558\ub098\uac00 \ud070 \uc0ac\uace0\ub97c \ub9c9\uc2b5\ub2c8\ub2e4.<\/p>\n<\/div>\n\n<h2>switch \u2014 \uac19\uc740 \uac12\uc73c\ub85c \uc5ec\ub7ec \ubd84\uae30<\/h2>\n\n<pre><code>const day = new Date().getDay();   \/\/ 0(\uc77c)~6(\ud1a0)\n\nswitch (day) {\n  case 0:\n  case 6:\n    console.log(\"\uc8fc\ub9d0\");\n    break;\n  case 1:\n  case 2:\n  case 3:\n  case 4:\n  case 5:\n    console.log(\"\ud3c9\uc77c\");\n    break;\n  default:\n    console.log(\"\ubd88\uac00\ub2a5\ud55c \uac12\");\n}<\/code><\/pre>\n\n<p>switch \uc758 \ube44\uad50\ub294 <strong>===<\/strong> \uc785\ub2c8\ub2e4(\uc5c4\uaca9 \ub3d9\ub4f1). \uadf8\ub798\uc11c <code>case \"5\"<\/code> \uc640 <code>case 5<\/code> \ub294 \ub2e4\ub978 \ubd84\uae30\uc785\ub2c8\ub2e4. \uac01 case \ub05d\uc5d0 <strong>break<\/strong> \ub97c \uaf2d \u2014 \ube60\ub728\ub9ac\uba74 \ub2e4\uc74c case \uae4c\uc9c0 \ud758\ub7ec \ub4e4\uc5b4\uac00\ub294(fall-through) \uc0ac\uace0\uac00 \ub0a9\ub2c8\ub2e4. \uc704 \ucf54\ub4dc\ub294 0\/6 case \uc5d0 break \uac00 \uc5c6\ub294 \uac8c \uc758\ub3c4\ub41c fall-through \uc785\ub2c8\ub2e4.<\/p>\n\n<h3>switch \uac00 if \ubcf4\ub2e4 \uc88b\uc744 \ub54c<\/h3>\n\n<ul>\n  <li>\ud558\ub098\uc758 \ubcc0\uc218\ub97c 3\uac1c \uc774\uc0c1\uc758 <strong>\uace0\uc815 \uac12<\/strong>\uc73c\ub85c \ubd84\uae30<\/li>\n  <li>\uac01 \ubd84\uae30\uc758 \ub3d9\uc791\uc774 \ube44\uc2b7\ud55c \ubaa8\uc591<\/li>\n  <li>default \uac00 \uc758\ubbf8 \uc788\ub294 \uacbd\uc6b0<\/li>\n<\/ul>\n\n<p>\ubc18\ub300\ub85c <strong>\ubc94\uc704 \uc870\uac74(>=)\u00b7\uc5ec\ub7ec \ubcc0\uc218 \uc870\ud569\u00b7\ubcf5\uc7a1\ud55c \ud45c\ud604\uc2dd<\/strong> \uc740 if\/else \uac00 \uc790\uc5f0\uc2a4\ub7fd\uc2b5\ub2c8\ub2e4.<\/p>\n\n<h2>\uc0bc\ud56d \uc5f0\uc0b0\uc790 \u2014 \ud55c \uc904 \ubd84\uae30<\/h2>\n\n<pre><code>\/\/ if\/else 4\uc904\uc744 \ud55c \uc904\ub85c\nconst label = age &gt;= 19 ? \"\uc131\uc778\" : \"\ubbf8\uc131\ub144\";\n\n\/\/ \ubcc0\uc218 \ud560\ub2f9\nconst fee = isMember ? 0 : 5000;\n\n\/\/ \ud568\uc218 \ubc18\ud658\nfunction grade(score) {\n  return score &gt;= 90 ? \"A\" : score &gt;= 80 ? \"B\" : \"C\";\n}\n\n\/\/ React \uc870\uac74\ubd80 \ub80c\ub354\n{user ? &lt;UserMenu \/&gt; : &lt;LoginButton \/&gt;}<\/code><\/pre>\n\n<div class=\"databox\">\n  <p><strong>\uc0bc\ud56d\uc758 \ud55c\ub3c4.<\/strong> \ud55c \uc904 \ubd84\uae30\uc5d0\ub294 \ucd5c\uace0\uc9c0\ub9cc, \uc911\ucca9\uc774 \uae4a\uc5b4\uc9c0\uba74 \uac00\ub3c5\uc131 \ud3ed\ub77d. 3\uc911\ucca9\uc744 \ub118\uc5b4\uac00\uba74 if\/else \ub85c \ud480\uac70\ub098, \ubcc0\uc218\uc5d0 \ubd84\ub9ac\ud558\ub294 \uac8c \uc88b\uc2b5\ub2c8\ub2e4. <strong>&#8220;3\uc911\ucca9 \uc774\ub0b4&#8221;<\/strong> \uac00 \uc548\uc804\uc120.<\/p>\n<\/div>\n\n<h2>\ub2e8\ub77d \ud3c9\uac00 \u2014 &#038;&#038;\u00b7||\u00b7??\u00b7?. \uc758 \ubd84\uae30<\/h2>\n\n<pre><code>\/\/ && \u2014 \uc67c\ucabd\uc774 truthy \uba74 \uc624\ub978\ucabd \uc2e4\ud589\nisLoggedIn &amp;&amp; loadProfile();\n\n\/\/ || \u2014 \uc67c\ucabd\uc774 falsy \uba74 \uae30\ubcf8\uac12\nconst name = userName || \"\uc775\uba85\";\n\n\/\/ ?? \u2014 \uc67c\ucabd\uc774 null\/undefined \uc77c \ub54c\ub9cc \uae30\ubcf8\uac12 (0, \"\" \uc720\uc9c0)\nconst port = config.port ?? 3000;\n\n\/\/ ?. \u2014 \uc635\uc154\ub110 \uccb4\uc774\ub2dd (\uc788\uc73c\uba74 \ud638\ucd9c, \uc5c6\uc73c\uba74 undefined)\nuser?.profile?.address?.city\ncallback?.()\narr?.[0]<\/code><\/pre>\n\n<p>\uc774 \ub124 \uac00\uc9c0\ub97c \uc54c\uba74 if \uac00 \uc904\uc5b4\ub4ed\ub2c8\ub2e4. \ud2b9\ud788 \uc635\uc154\ub110 \uccb4\uc774\ub2dd <code>?.<\/code> \uc740 &#8220;\uc774 \uac1d\uccb4\uac00 \uc788\uc73c\uba74&#8221; \ub958\uc758 if \ub354\ubbf8\ub97c \ud55c \uc904\ub85c \uc815\ub9ac\ud574 \uc90d\ub2c8\ub2e4.<\/p>\n\n<h2>\ubd84\uae30 \ud45c\ud604 \uc120\ud0dd \uac00\uc774\ub4dc<\/h2>\n\n<div class=\"tablewrap\">\n<table>\n  <thead>\n    <tr><th>\uc0c1\ud669<\/th><th>\ucd94\ucc9c<\/th><th>\uc774\uc720<\/th><\/tr>\n  <\/thead>\n  <tbody>\n    <tr><td data-label=\"\uc0c1\ud669\">2-3\uac1c \ubd84\uae30, \ub2e4\ub978 \ub3d9\uc791<\/td><td data-label=\"\ucd94\ucc9c\">if\/else<\/td><td data-label=\"\uc774\uc720\">\uac00\uc7a5 \uc9c1\uad00<\/td><\/tr>\n    <tr><td data-label=\"\uc0c1\ud669\">\ud55c \ubcc0\uc218 + 4\uac1c \uc774\uc0c1 \uace0\uc815 \uac12<\/td><td data-label=\"\ucd94\ucc9c\">switch<\/td><td data-label=\"\uc774\uc720\">case \uac00 \ud55c\ub208\uc5d0<\/td><\/tr>\n    <tr><td data-label=\"\uc0c1\ud669\">\uac04\ub2e8\ud55c \uac12 \uc120\ud0dd<\/td><td data-label=\"\ucd94\ucc9c\">\uc0bc\ud56d<\/td><td data-label=\"\uc774\uc720\">\ud55c \uc904\ub85c \uae54\ub054<\/td><\/tr>\n    <tr><td data-label=\"\uc0c1\ud669\">&#8220;\uc788\uc73c\uba74 \uc2e4\ud589\/\uae30\ubcf8\uac12&#8221;<\/td><td data-label=\"\ucd94\ucc9c\">&#038;&#038;\u00b7||\u00b7??<\/td><td data-label=\"\uc774\uc720\">if \uac00 \uacfc\ud568<\/td><\/tr>\n    <tr><td data-label=\"\uc0c1\ud669\">\uc911\ucca9\uc774 5\uce35 \uc774\uc0c1<\/td><td data-label=\"\ucd94\ucc9c\">early return + \ud568\uc218 \ubd84\ub9ac<\/td><td data-label=\"\uc774\uc720\">\uc911\ucca9 \uc790\uccb4\uac00 \ucf54\ub4dc \uc2a4\uba5c<\/td><\/tr>\n  <\/tbody>\n<\/table>\n<\/div>\n\n<h3>guard clause (early return) \u2014 \uc911\ucca9 \uc904\uc774\uae30<\/h3>\n\n<pre><code>\/\/ \ub098\uc05c \ud328\ud134 \u2014 \uc911\ucca9 5\uce35\nfunction process(user) {\n  if (user) {\n    if (user.active) {\n      if (user.age &gt;= 19) {\n        if (user.subscribed) {\n          \/\/ \uc2e4\uc81c \ub85c\uc9c1\n        }\n      }\n    }\n  }\n}\n\n\/\/ \uc88b\uc740 \ud328\ud134 \u2014 \uac00\ub4dc \uc808\nfunction process(user) {\n  if (!user) return;\n  if (!user.active) return;\n  if (user.age &lt; 19) return;\n  if (!user.subscribed) return;\n  \/\/ \uc2e4\uc81c \ub85c\uc9c1 (\ub4e4\uc5ec\uc4f0\uae30 1\ub2e8)\n}<\/code><\/pre>\n\n<p>\uc608\uc678\/\uc2e4\ud328 \uacbd\ub85c\ub97c \uba3c\uc800 return \uc73c\ub85c \ube60\uc838\ub098\uac00\uba74, \ubcf8\ubb38 \ub85c\uc9c1\uc774 \uae54\ub054\ud558\uac8c \ud55c \ub2e8\uc73c\ub85c \ubaa8\uc785\ub2c8\ub2e4. \uc911\ucca9\uc774 3\ub2e8\uc744 \ub118\uc5b4\uac00\uba74 \uc774 \ud328\ud134\uc744 \uace0\ub824\ud574 \ubcf4\uc138\uc694.<\/p>\n\n<div class=\"cta\">\n  <h3>7\ud3b8 \u2014 \ubc18\ubcf5\ubb38 for\u00b7while\u00b7for of<\/h3>\n  <p>4\uac00\uc9c0 \ubc18\ubcf5 \ub3c4\uad6c\uc640 break\/continue, for&#8230;of vs for&#8230;in \ucc28\uc774.<\/p>\n<\/div>\n\n<div class=\"series-nav\">\n  <strong>\ud83d\udcda \uc27d\uac8c \ubc30\uc6b0\ub294 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \uad50\uc7ac<\/strong><br>\n  \uc774\uc804: 5\ud3b8 \uc5f0\uc0b0\uc790 \u00b7 \ud604\uc7ac: <strong>6\ud3b8 (\uae30\ucd08 \uc2dc\uc791)<\/strong> \u00b7 \ub2e4\uc74c \u2192 7\ud3b8 \ubc18\ubcf5\ubb38 \u00b7 \uc9c4\ud589: <strong>6\/26<\/strong>\n<\/div>\n\n<\/article>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>if\/switch\/\uc0bc\ud56d\/\ub2e8\ub77d \ud3c9\uac00 \u2014 \ubd84\uae30 \ud45c\ud604 4\uac00\uc9c0 \uc815\ub9ac. 26\ud3b8 \uad50\uc7ac 6\ud3b8 (\uae30\ucd08 \uc2dc\uc791).<\/p>\n","protected":false},"author":1,"featured_media":532,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-317","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-javascript-basic"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/comments?post=317"}],"version-history":[{"count":3,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/317\/revisions"}],"predecessor-version":[{"id":558,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/317\/revisions\/558"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media\/532"}],"wp:attachment":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media?parent=317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/categories?post=317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/tags?post=317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}