{"id":342,"date":"2026-05-17T06:20:38","date_gmt":"2026-05-16T22:20:38","guid":{"rendered":"https:\/\/junai.ai\/blog\/js-strings-11\/"},"modified":"2026-05-17T07:11:41","modified_gmt":"2026-05-16T23:11:41","slug":"js-strings-11","status":"publish","type":"post","link":"https:\/\/junai.ai\/blog\/js-strings-11\/","title":{"rendered":"\ubb38\uc790\uc5f4 \u2014 \ud15c\ud50c\ub9bf\u00b7split\u00b7replace (\uae30\ucd08 11\ud3b8)"},"content":{"rendered":"\n<!-- WordPress REST API \ubc1c\ud589\uc6a9 HTML (\uc790\ub3d9 \uc0dd\uc131) -->\n<!-- WP-FEATURED-MEDIA-ID: 537 -->\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 11\ud3b8 \/ 26\ud3b8<\/span>\n  <h1>\ubb38\uc790\uc5f4 \u2014 \ud15c\ud50c\ub9bf\u00b7split\u00b7replace<\/h1>\n  <p class=\"sub\">\ud15c\ud50c\ub9bf \ub9ac\ud130\ub7f4, \uc790\uc8fc \uc4f0\ub294 \uba54\uc11c\ub4dc 10\uac1c, \uc815\uaddc\uc2dd \uc0b4\uc9dd \ub9db\ubcf4\uae30.<\/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-182.jpg\" alt=\"JS \ubb38\uc790\uc5f4\uc758 \ub2e4\uc591\ud55c \uba54\uc11c\ub4dc \uc0ac\uc6a9 \uc608\uc2dc\uac00 \ucf54\ub4dc \uce74\ub4dc\ub85c \uc815\ub9ac\ub41c \uc77c\ub7ec\uc2a4\ud2b8\">\n<\/header>\n\n<div class=\"container\">\n<article>\n\n<p>\ubb38\uc790\uc5f4\uc740 \uc5b4\ub514\uc5d0\ub098 \uc788\uc2b5\ub2c8\ub2e4 \u2014 \uc0ac\uc6a9\uc790 \uc785\ub825\u00b7API \uc751\ub2f5\u00b7\ub85c\uadf8\u00b7UI \ub77c\ubca8. 11\ud3b8\uc740 \ub9e4\uc77c \uc4f0\ub294 \uba54\uc11c\ub4dc 10\uac1c\uc640 \ubc31\ud2f1(<code>`<\/code>) \ud15c\ud50c\ub9bf \ub9ac\ud130\ub7f4, \uadf8\ub9ac\uace0 \uc815\uaddc\uc2dd\uc758 \uccab \ud55c \uc785\uc744 \uc815\ub9ac\ud569\ub2c8\ub2e4.<\/p>\n\n<h2>\ud15c\ud50c\ub9bf \ub9ac\ud130\ub7f4 \u2014 \ubc31\ud2f1\uc774 \uac70\uc758 \uc815\ub2f5<\/h2>\n\n<pre><code>const name = \"\uc900\uc131\", age = 39;\n\n\/\/ \uc61b \ubc29\uc2dd\n\"\uc548\ub155, \" + name + \"! \ub098\uc774: \" + age;\n\n\/\/ \ubc31\ud2f1 \u2014 \ubcc0\uc218 \ubcf4\uac04\n`\uc548\ub155, ${name}! \ub098\uc774: ${age}`;\n\n\/\/ \ud45c\ud604\uc2dd OK\n`\ub0b4\ub144\uc5d0 ${age + 1}\uc0b4`;\n\n\/\/ \uc5ec\ub7ec \uc904\n`\uccab \uc904\n\ub450 \ubc88\uc9f8 \uc904\n${name} \uc758 \uc778\uc0ac`;\n\n\/\/ \ud568\uc218\ub3c4 \ud638\ucd9c \uac00\ub2a5\n`\ucd1d ${arr.length}\uac1c`;<\/code><\/pre>\n\n<div class=\"databox\">\n  <p><strong>\ud55c \uc904 \uad8c\uc7a5.<\/strong> \ubcc0\uc218 \ubcf4\uac04\uc774 \ud544\uc694\ud55c \ubaa8\ub4e0 \uacf3\uc5d0 <strong>\ubc31\ud2f1<\/strong>. \ubcc0\uc218\uac00 \uc804\ud600 \uc5c6\uc73c\uba74 \ud651\/\uc30d \ub530\uc634\ud45c\ub4e0 \ubc31\ud2f1\uc774\ub4e0 \ucde8\ud5a5. Prettier \uac19\uc740 \ud3ec\ub9e4\ud130\uac00 \ubcf4\uac04 \uc5c6\ub294 \ubc31\ud2f1\uc744 \ud651\ub530\uc634\ud45c\ub85c \uc790\ub3d9 \ubcc0\ud658\ud574\uc8fc\uae30\ub3c4 \ud569\ub2c8\ub2e4.<\/p>\n<\/div>\n\n<h2>\uc790\uc8fc \uc4f0\ub294 \uba54\uc11c\ub4dc 10\uac1c<\/h2>\n\n<div class=\"tablewrap\">\n<table>\n  <thead>\n    <tr><th>\uba54\uc11c\ub4dc<\/th><th>\uc6a9\ub3c4<\/th><th>\uc608\uc2dc<\/th><\/tr>\n  <\/thead>\n  <tbody>\n    <tr><td data-label=\"\uba54\uc11c\ub4dc\">length<\/td><td data-label=\"\uc6a9\ub3c4\">\uae38\uc774 (\ub2e8, \uc774\ubaa8\uc9c0 \uc8fc\uc758)<\/td><td data-label=\"\uc608\">&#8220;abc&#8221;.length \u2192 3<\/td><\/tr>\n    <tr><td data-label=\"\uba54\uc11c\ub4dc\">toUpperCase \/ toLowerCase<\/td><td data-label=\"\uc6a9\ub3c4\">\ub300\uc18c\ubb38\uc790<\/td><td data-label=\"\uc608\">&#8220;Hi&#8221;.toUpperCase() \u2192 &#8220;HI&#8221;<\/td><\/tr>\n    <tr><td data-label=\"\uba54\uc11c\ub4dc\">trim \/ trimStart \/ trimEnd<\/td><td data-label=\"\uc6a9\ub3c4\">\uacf5\ubc31 \uc81c\uac70<\/td><td data-label=\"\uc608\">&#8221;  hi  &#8220;.trim() \u2192 &#8220;hi&#8221;<\/td><\/tr>\n    <tr><td data-label=\"\uba54\uc11c\ub4dc\">includes \/ startsWith \/ endsWith<\/td><td data-label=\"\uc6a9\ub3c4\">\ud3ec\ud568 \uac80\uc0ac (boolean)<\/td><td data-label=\"\uc608\">&#8220;hello&#8221;.includes(&#8220;ll&#8221;) \u2192 true<\/td><\/tr>\n    <tr><td data-label=\"\uba54\uc11c\ub4dc\">indexOf \/ lastIndexOf<\/td><td data-label=\"\uc6a9\ub3c4\">\uc704\uce58 (-1 \uc5c6\uc74c)<\/td><td data-label=\"\uc608\">&#8220;hello&#8221;.indexOf(&#8220;l&#8221;) \u2192 2<\/td><\/tr>\n    <tr><td data-label=\"\uba54\uc11c\ub4dc\">slice(start, end)<\/td><td data-label=\"\uc6a9\ub3c4\">\ubd80\ubd84 \ucd94\ucd9c<\/td><td data-label=\"\uc608\">&#8220;hello&#8221;.slice(1, 4) \u2192 &#8220;ell&#8221;<\/td><\/tr>\n    <tr><td data-label=\"\uba54\uc11c\ub4dc\">split(sep)<\/td><td data-label=\"\uc6a9\ub3c4\">\ubc30\uc5f4\ub85c \ucabc\uac1c\uae30<\/td><td data-label=\"\uc608\">&#8220;a,b,c&#8221;.split(&#8220;,&#8221;) \u2192 [&#8220;a&#8221;,&#8221;b&#8221;,&#8221;c&#8221;]<\/td><\/tr>\n    <tr><td data-label=\"\uba54\uc11c\ub4dc\">replace \/ replaceAll<\/td><td data-label=\"\uc6a9\ub3c4\">\uce58\ud658<\/td><td data-label=\"\uc608\">&#8220;aaa&#8221;.replaceAll(&#8220;a&#8221;,&#8221;b&#8221;) \u2192 &#8220;bbb&#8221;<\/td><\/tr>\n    <tr><td data-label=\"\uba54\uc11c\ub4dc\">repeat(n)<\/td><td data-label=\"\uc6a9\ub3c4\">\ubc18\ubcf5<\/td><td data-label=\"\uc608\">&#8220;-&#8220;.repeat(5) \u2192 &#8220;&#8212;&#8211;&#8220;<\/td><\/tr>\n    <tr><td data-label=\"\uba54\uc11c\ub4dc\">padStart \/ padEnd<\/td><td data-label=\"\uc6a9\ub3c4\">\uae38\uc774 \ucc44\uc6b0\uae30<\/td><td data-label=\"\uc608\">&#8220;3&#8221;.padStart(2, &#8220;0&#8221;) \u2192 &#8220;03&#8221;<\/td><\/tr>\n  <\/tbody>\n<\/table>\n<\/div>\n\n<h2>\uc2e4\uc804 \ud328\ud134 \u2014 \uc790\uc8fc \ub9cc\ub098\ub294 5\uac00\uc9c0<\/h2>\n\n<h3>\u2460 \uc774\uba54\uc77c\uc5d0\uc11c \ub3c4\uba54\uc778\ub9cc<\/h3>\n\n<pre><code>const email = \"jspark1st@gmail.com\";\nemail.split(\"@\")[1];                  \/\/ \"gmail.com\"\nemail.slice(email.indexOf(\"@\") + 1);  \/\/ \uac19\uc740 \uacb0\uacfc<\/code><\/pre>\n\n<h3>\u2461 \uce74\ub4dc \ubc88\ud638 \ub9c8\uc2a4\ud0b9<\/h3>\n\n<pre><code>const card = \"1234567812345678\";\n\"*\".repeat(12) + card.slice(-4);      \/\/ \"************5678\"<\/code><\/pre>\n\n<h3>\u2462 \ub2e8\uc5b4 \uccab \uae00\uc790 \ub300\ubb38\uc790<\/h3>\n\n<pre><code>function capitalize(s) {\n  return s.charAt(0).toUpperCase() + s.slice(1);\n}\ncapitalize(\"hello\");                  \/\/ \"Hello\"<\/code><\/pre>\n\n<h3>\u2463 \uc2ac\ub7ec\uadf8 \ub9cc\ub4e4\uae30 (\ud55c\uad6d\uc5b4 \ubb34\uc2dc)<\/h3>\n\n<pre><code>const title = \"  React \uc640 Vue \";\ntitle.trim().toLowerCase().replace(\/\\s+\/g, \"-\");\n\/\/ \"react-\uc640-vue\"<\/code><\/pre>\n\n<h3>\u2464 CSV \ud55c \uc904 \u2192 \uac1d\uccb4<\/h3>\n\n<pre><code>const headers = [\"id\", \"name\", \"email\"];\nconst row = \"1,\uc900\uc131,x@y.com\";\nconst obj = Object.fromEntries(\n  headers.map((h, i) =&gt; [h, row.split(\",\")[i]])\n);\n\/\/ { id: \"1\", name: \"\uc900\uc131\", email: \"x@y.com\" }<\/code><\/pre>\n\n<h2>\uc815\uaddc\uc2dd \u2014 \ud55c \uc785\ub9cc<\/h2>\n\n<pre><code>\/\/ \ubb38\uc790 \uadf8\ub300\ub85c\uc758 \uac80\uc0c9\uc740 includes \uba74 \ucda9\ubd84\n\/\/ \uc815\uaddc\uc2dd\uc740 \"\ud328\ud134\" \uc774 \ud544\uc694\ud560 \ub54c\n\nconst text = \"\uc804\ud654: 010-1234-5678, 010-9999-1111\";\n\n\/\/ \ubaa8\ub4e0 \uc804\ud654\ubc88\ud638 \ucd94\ucd9c\ntext.match(\/\\d{3}-\\d{4}-\\d{4}\/g);     \/\/ [\"010-1234-5678\", \"010-9999-1111\"]\n\n\/\/ \uc774\uba54\uc77c \ud615\uc2dd \ub300\ucda9 \uac80\uc99d\nconst emailRe = \/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$\/;\nemailRe.test(\"x@y.com\");              \/\/ true\n\n\/\/ \uce58\ud658\uc5d0\uc11c \uc815\uaddc\uc2dd \uc0ac\uc6a9\n\"aaa-bbb-ccc\".replace(\/-\/g, \"_\");     \/\/ \"aaa_bbb_ccc\"  \u2190 g \ud50c\ub798\uadf8\ub85c \uc804\ubd80\n\"aaa bbb  ccc\".replace(\/\\s+\/g, \" \");  \/\/ \uc5f0\uc18d \uacf5\ubc31 1\uce78\uc73c\ub85c\n\n\/\/ \uadf8\ub8f9 \ucea1\ucc98\nconst m = \"2026-05-17\".match(\/^(\\d{4})-(\\d{2})-(\\d{2})$\/);\n\/\/ m[1]=\"2026\", m[2]=\"05\", m[3]=\"17\"<\/code><\/pre>\n\n<div class=\"warnbox\">\n  <p><strong>\uc815\uaddc\uc2dd\uc758 \ud55c\ub3c4.<\/strong> \ubcf5\uc7a1\ud55c \uc815\uaddc\uc2dd\uc740 \ub514\ubc84\uadf8 \uc9c0\uc625. \ud55c \uc904\ub85c \uc548 \ud480\ub9ac\uba74 <strong>\uc5ec\ub7ec \ub2e8\uacc4<\/strong>\ub85c \ucabc\uac1c\uac70\ub098 \ub77c\uc774\ube0c\ub7ec\ub9ac(date-fns\u00b7zod) \ub97c \uc4f0\uc138\uc694. \uadf8\ub9ac\uace0 \uc0ac\uc6a9\uc790 \uc785\ub825 \uac80\uc99d\uc740 \ud074\ub77c\uc774\uc5b8\ud2b8 + \uc11c\ubc84 \ubaa8\ub450\uc5d0\uc11c.<\/p>\n<\/div>\n\n<h2>\uae38\uc774\uc758 \ud568\uc815 \u2014 \uc774\ubaa8\uc9c0\u00b7\ud55c\uae00 \uc870\ud569<\/h2>\n\n<pre><code>\"\uc548\ub155\".length              \/\/ 2 \u2190 OK\n\"\ud83d\udc4b\".length                \/\/ 2 \u2190 !! (surrogate pair)\n\"\uac00\uc871\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\".length          \/\/ 7 \u2190 !! (ZWJ \ud569\uc131)\n\n\/\/ \uc2e4\uc81c \uc2dc\uac01\uc801 \uae00\uc790 \uc218 (\uadf8\ub798\ud54d)\n[...\"\ud83d\udc4b\"].length           \/\/ 1 \u2190 spread \uac00 \ucf54\ub4dc\ud3ec\uc778\ud2b8 \ub2e8\uc704\nArray.from(\"\ud83d\udc4b\").length    \/\/ 1\n\n\/\/ \uc644\ubcbd\ud55c \uadf8\ub798\ud54d \uce74\uc6b4\ud2b8\ub294 Intl.Segmenter (ES2022+)\nconst seg = new Intl.Segmenter(\"ko\", { granularity: \"grapheme\" });\n[...seg.segment(\"\uac00\uc871\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\")].length   \/\/ 3<\/code><\/pre>\n\n<div class=\"databox\">\n  <p><strong>\uc2e4\uc804 \ucd94\ucc9c.<\/strong> ASCII\u00b7CJK \ud55c\uad6d\uc5b4 \uc815\ub3c4\uba74 <code>str.length<\/code> \ucda9\ubd84. \uc774\ubaa8\uc9c0\u00b7\ub2e4\uad6d\uc5b4 \uc785\ub825 \ubc1b\ub294 \ud3fc\uc740 <code>[...str].length<\/code> \ub610\ub294 <code>Intl.Segmenter<\/code>. SNS\u00b7\uba54\uc2e0\uc800 \uba54\uc2dc\uc9c0 \uae38\uc774 \uc81c\ud55c\uc774\ub77c\uba74 \ud6c4\uc790\uac00 \uc548\uc804.<\/p>\n<\/div>\n\n<div class=\"cta\">\n  <h3>12\ud3b8 \u2014 \uc2a4\ucf54\ud504\uc640 \ud638\uc774\uc2a4\ud305<\/h3>\n  <p>\ubcc0\uc218\uac00 \uc5b4\ub514\uc11c \uc0b4\uc544\uc788\ub294\uc9c0, \ud568\uc218\/\ube14\ub85d\/TDZ \uc758 \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: 10\ud3b8 \uac1d\uccb4 \u00b7 \ud604\uc7ac: <strong>11\ud3b8 (\uae30\ucd08)<\/strong> \u00b7 \ub2e4\uc74c \u2192 12\ud3b8 \uc2a4\ucf54\ud504\u00b7\ud638\uc774\uc2a4\ud305 \u00b7 \uc9c4\ud589: <strong>11\/26<\/strong>\n<\/div>\n\n<\/article>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\ubb38\uc790\uc5f4 \uba54\uc11c\ub4dc + \ud15c\ud50c\ub9bf + \uc815\uaddc\uc2dd \uc0b4\uc9dd. 26\ud3b8 \uad50\uc7ac 11\ud3b8.<\/p>\n","protected":false},"author":1,"featured_media":537,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-342","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\/342","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=342"}],"version-history":[{"count":5,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/342\/revisions"}],"predecessor-version":[{"id":563,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/342\/revisions\/563"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media\/537"}],"wp:attachment":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media?parent=342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/categories?post=342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/tags?post=342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}