{"id":344,"date":"2026-05-17T06:22:42","date_gmt":"2026-05-16T22:22:42","guid":{"rendered":"https:\/\/junai.ai\/blog\/js-scope-hoisting-12\/"},"modified":"2026-05-17T07:11:41","modified_gmt":"2026-05-16T23:11:41","slug":"js-scope-hoisting-12","status":"publish","type":"post","link":"https:\/\/junai.ai\/blog\/js-scope-hoisting-12\/","title":{"rendered":"\uc2a4\ucf54\ud504\uc640 \ud638\uc774\uc2a4\ud305 \u2014 \ubcc0\uc218\uc758 \uc791\ub3d9 \uc6d0\ub9ac (\uae30\ucd08 12\ud3b8)"},"content":{"rendered":"\n<!-- WordPress REST API \ubc1c\ud589\uc6a9 HTML (\uc790\ub3d9 \uc0dd\uc131) -->\n<!-- WP-FEATURED-MEDIA-ID: 538 -->\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 12\ud3b8 \/ 26\ud3b8<\/span>\n  <h1>\uc2a4\ucf54\ud504\uc640 \ud638\uc774\uc2a4\ud305 \u2014 \ubcc0\uc218\uc758 \uc791\ub3d9 \uc6d0\ub9ac<\/h1>\n  <p class=\"sub\">\ubcc0\uc218\uac00 \uc5b4\ub514\uc11c \uc0b4\uc544\uc788\ub294\uc9c0\u00b7\uc5b8\uc81c \ubcf4\uc774\uae30 \uc2dc\uc791\ud558\ub294\uc9c0\u00b7\ud074\ub85c\uc800\uc758 \uccab \uc778\uc0c1.<\/p>\n  <div class=\"meta\"><span>\uae30\ucd08<\/span><span>\uc77d\ub294 \uc2dc\uac04 7\ubd84<\/span><span>2026-05-17<\/span><\/div>\n  <img decoding=\"async\" src=\"https:\/\/junai.ai\/blog\/wp-content\/uploads\/2026\/05\/hero-183.jpg\" alt=\"JS \uc758 \uc2a4\ucf54\ud504 \uacc4\uce35\uacfc \ud638\uc774\uc2a4\ud305\uc774 \uadf8\ub9bc\uc73c\ub85c \uc124\uba85\ub41c \uc77c\ub7ec\uc2a4\ud2b8\">\n<\/header>\n\n<div class=\"container\">\n<article>\n\n<p>3\ud3b8\uc5d0\uc11c \uc0b4\uc9dd \ubcf8 <strong>\uc2a4\ucf54\ud504<\/strong>\u00b7<strong>\ud638\uc774\uc2a4\ud305<\/strong>\u00b7<strong>TDZ<\/strong> \ub97c 12\ud3b8\uc5d0\uc11c \uc815\ud655\ud788 \ub2e4\uc9d1\ub2c8\ub2e4. \uadf8\ub9ac\uace0 21\ud3b8\uc5d0\uc11c \ub2e4\ub8f0 <strong>\ud074\ub85c\uc800<\/strong> \uc758 \uccab \uc778\uc0c1\uae4c\uc9c0. \uc774 \uc14b\uc744 \uc774\ud574\ud558\uba74 &#8220;\uc65c \uc774 \ubcc0\uc218\uac00 \uc548 \ubcf4\uc774\uc9c0&#8221; &#8220;\uc65c undefined \uac00 \ub098\uc624\uc9c0&#8221; \uac19\uc740 \uc785\ubb38 \uc0ac\uace0\ub97c \uac70\uc758 \ub2e4 \ub9c9\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n\n<h2>\uc2a4\ucf54\ud504 \u2014 \ubcc0\uc218\uac00 &#8220;\ubcf4\uc774\ub294&#8221; \ubc94\uc704<\/h2>\n\n<pre><code>\/\/ 1) \uae00\ub85c\ubc8c \uc2a4\ucf54\ud504 \u2014 \uc5b4\ub514\uc11c\ub098 \ubcf4\uc784\nconst APP = \"junai\";\n\nfunction f1() {\n  \/\/ 2) \ud568\uc218 \uc2a4\ucf54\ud504 \u2014 f1 \uc548\uc5d0\uc11c\ub9cc\n  const local = \"x\";\n  console.log(APP);     \/\/ OK \u2014 \uae00\ub85c\ubc8c \ubcf4\uc784\n  console.log(local);   \/\/ OK\n}\n\nconsole.log(local);     \/\/ \u274c \ud568\uc218 \ubc16\uc5d0\uc120 \uc548 \ubcf4\uc784\n\nif (true) {\n  \/\/ 3) \ube14\ub85d \uc2a4\ucf54\ud504 \u2014 { } \uc548\uc5d0\uc11c\ub9cc (let\/const \ub9cc)\n  const blockOnly = \"y\";\n}\nconsole.log(blockOnly); \/\/ \u274c<\/code><\/pre>\n\n<div class=\"tablewrap\">\n<table>\n  <thead>\n    <tr><th><\/th><th>\uae00\ub85c\ubc8c<\/th><th>\ud568\uc218<\/th><th>\ube14\ub85d<\/th><\/tr>\n  <\/thead>\n  <tbody>\n    <tr><td data-label=\"\">\uc120\uc5b8 \uc704\uce58<\/td><td data-label=\"G\">\ucd5c\uc0c1\uc704<\/td><td data-label=\"F\">function() \uc548<\/td><td data-label=\"B\">{} \uc548<\/td><\/tr>\n    <tr><td data-label=\"\">let\/const<\/td><td data-label=\"G\">\uc804\uc5ed<\/td><td data-label=\"F\">\ud568\uc218\ub9cc<\/td><td data-label=\"B\">\ube14\ub85d\ub9cc<\/td><\/tr>\n    <tr><td data-label=\"\">var<\/td><td data-label=\"G\">\uc804\uc5ed<\/td><td data-label=\"F\">\ud568\uc218\ub9cc<\/td><td data-label=\"B\">\ube14\ub85d \ubb34\uc2dc \u26a0\ufe0f<\/td><\/tr>\n  <\/tbody>\n<\/table>\n<\/div>\n\n<h2>\uc2a4\ucf54\ud504 \uccb4\uc778 \u2014 \uc548\uc5d0\uc11c \ubc16\uc73c\ub85c<\/h2>\n\n<pre><code>const a = \"global\";\n\nfunction outer() {\n  const b = \"outer\";\n\n  function inner() {\n    const c = \"inner\";\n    console.log(a, b, c);  \/\/ \"global\" \"outer\" \"inner\"\n  }\n\n  inner();\n}<\/code><\/pre>\n\n<p>\ubcc0\uc218\ub97c \ucc3e\uc744 \ub54c <strong>\uc548 \u2192 \ubc16<\/strong> \uc21c\uc11c\ub85c \ucc28\ub840\ub85c \ubd05\ub2c8\ub2e4. \uac19\uc740 \uc774\ub984\uc774 \uc788\uc73c\uba74 \uac00\uc7a5 \uac00\uae4c\uc6b4 \uac8c \uc774\uae41\ub2c8\ub2e4(shadowing). \uc774\uac8c \ub2e4\uc74c\uc5d0 \ub098\uc62c \ud074\ub85c\uc800\uc758 \uae30\ubc18.<\/p>\n\n<h2>\ud638\uc774\uc2a4\ud305 \u2014 &#8220;\uc120\uc5b8\uc774 \ub04c\uc5b4\uc62c\ub824\uc9c4 \uac83\ucc98\ub7fc&#8221;<\/h2>\n\n<pre><code>\/\/ \ud568\uc218 \uc120\uc5b8\ubb38 \u2014 \uc644\uc804\ud788 \ud638\uc774\uc2a4\ud305\ngreet();   \/\/ OK\nfunction greet() { console.log(\"hi\"); }\n\n\/\/ var \u2014 \uc120\uc5b8\ub9cc \ud638\uc774\uc2a4\ud305, \uac12\uc740 undefined \ub85c \uc2dc\uc791\nconsole.log(x);   \/\/ undefined  \u2190 \uc5d0\ub7ec X\nvar x = 5;\n\n\/\/ let\/const \u2014 \uc120\uc5b8\uc740 \ud638\uc774\uc2a4\ud305\ub418\uc9c0\ub9cc \uc0ac\uc6a9 \uae08\uc9c0 \uad6c\uc5ed (TDZ)\nconsole.log(y);   \/\/ \u274c ReferenceError: Cannot access 'y' before initialization\nlet y = 5;\n\n\/\/ \ud568\uc218 \ud45c\ud604\uc2dd\u00b7\ud654\uc0b4\ud45c \u2014 \ubcc0\uc218 \ud638\uc774\uc2a4\ud305 \uaddc\uce59 \ub530\ub984\nsayHi();          \/\/ \u274c Cannot access 'sayHi' before initialization\nconst sayHi = () =&gt; console.log(\"hi\");<\/code><\/pre>\n\n<div class=\"databox\">\n  <p><strong>\uc65c \ud638\uc774\uc2a4\ud305\uc774 \uc788\ub098.<\/strong> JS \uc5d4\uc9c4\uc774 \ucf54\ub4dc \uc2e4\ud589 \uc804\uc5d0 &#8220;\uc5b4\ub5a4 \ubcc0\uc218\u00b7\ud568\uc218\uac00 \uc788\ub098&#8221; \ub97c \uba3c\uc800 \uc2a4\uce94\ud569\ub2c8\ub2e4 \u2014 \uadf8 \uacb0\uacfc \ud568\uc218\uc640 var \uac00 \ubbf8\ub9ac \uc54c\ub824\uc9c4 \uc0c1\ud0dc\ub85c \uc704\uc5d0 \uc62c\ub77c\uc628 \uac83\ucc98\ub7fc \ubcf4\uc785\ub2c8\ub2e4. \uc758\ub3c4\ub41c \uc548\uc804\uc7a5\uce58\uac00 \uc544\ub2c8\ub77c \uc61b \uc124\uacc4 \uacb0\uc815 + \ud638\ud658\uc131 \ubd80\uc0b0\ubb3c\uc5d0 \uac00\uae5d\uc2b5\ub2c8\ub2e4.<\/p>\n<\/div>\n\n<h2>TDZ (Temporal Dead Zone)<\/h2>\n\n<pre><code>{\n  \/\/ \uc5ec\uae30\uc11c\ubd80\ud130 TDZ \uc2dc\uc791\n  \/\/ (let\/const \uc120\uc5b8\uc740 \ud638\uc774\uc2a4\ud305\ub410\uc9c0\ub9cc \uc0ac\uc6a9 \uae08\uc9c0)\n  console.log(z);   \/\/ \u274c ReferenceError\n\n  let z = 10;\n  \/\/ \uc5ec\uae30\uc11c\ubd80\ud130 TDZ \ub05d\n  console.log(z);   \/\/ 10\n}<\/code><\/pre>\n\n<p>TDZ \ub294 \uc9dc\uc99d\ub098 \ubcf4\uc774\uc9c0\ub9cc <strong>\uc120\uc5b8 \uc804 \uc0ac\uc6a9\uc744 \ub9c9\ub294 \uc548\uc804\uc7a5\uce58<\/strong>\uc785\ub2c8\ub2e4. \uc61b var \uc758 &#8220;undefined \ub85c \uc870\uc6a9\ud788 \uc2dc\uc791&#8221; \ubcf4\ub2e4 \ud6e8\uc52c \uc9c4\ub2e8\uc774 \uc26c\uc6cc\uc694.<\/p>\n\n<h2>\ud568\uc218 \uc2a4\ucf54\ud504 vs \ube14\ub85d \uc2a4\ucf54\ud504 \u2014 var \uc758 \ub9c8\uc9c0\ub9c9 \ud568\uc815<\/h2>\n\n<pre><code>\/\/ \uc61b \ud568\uc815 \u2014 for (var) \uc640 \ube44\ub3d9\uae30\nfor (var i = 0; i &lt; 3; i++) {\n  setTimeout(() =&gt; console.log(i), 0);\n}\n\/\/ \ucd9c\ub825: 3, 3, 3  \u2190 !! \ubaa8\ub450 \uac19\uc740 i\n\n\/\/ let \uc73c\ub85c \ubc14\uafb8\uba74 \ub9e4 \ubc18\ubcf5\ub9c8\ub2e4 \uc0c8 i\nfor (let i = 0; i &lt; 3; i++) {\n  setTimeout(() =&gt; console.log(i), 0);\n}\n\/\/ \ucd9c\ub825: 0, 1, 2<\/code><\/pre>\n\n<p>\uc774\uac8c ES6 \uac00 let \uc744 \ub9cc\ub4e0 \uacb0\uc815\uc801 \uc774\uc720 \uc911 \ud558\ub098. var \uc2dc\uc808\uc5d4 IIFE \ub85c \ub9e4\ubc88 \uc0c8 \uc2a4\ucf54\ud504\ub97c \ub9cc\ub4e4\uc5b4\uc57c \ud588\ub294\ub370, \uc774\uc820 let \ud55c \uc904.<\/p>\n\n<h2>\ud074\ub85c\uc800 \u2014 \ud55c \uc785\ub9cc<\/h2>\n\n<pre><code>function makeCounter() {\n  let count = 0;\n\n  return function () {\n    count++;\n    return count;\n  };\n}\n\nconst counter = makeCounter();\ncounter();   \/\/ 1\ncounter();   \/\/ 2\ncounter();   \/\/ 3\n\/\/ count \ub294 \uc678\ubd80\uc5d0\uc11c \uc808\ub300 \ubabb \ubd04 \u2014 \uc9c4\uc9dc private<\/code><\/pre>\n\n<div class=\"databox\">\n  <p><strong>\ud074\ub85c\uc800 \ud55c \uc904 \uc815\uc758.<\/strong> &#8220;\ud568\uc218\uac00 \uc790\uae30 \ub9cc\ub4e4\uc5b4\uc9c4 \uc2a4\ucf54\ud504\uc758 \ubcc0\uc218\ub97c <strong>\uae30\uc5b5\ud558\uace0 \ud568\uaed8 \ub4e4\uace0 \ub2e4\ub2c8\ub294<\/strong> \uac83.&#8221; makeCounter \uac00 \ubc18\ud658\ub41c \ub4a4\uc5d0\ub3c4 count \uac00 \uc0b4\uc544\uc788\ub294 \uc774\uc720. 21\ud3b8\uc5d0\uc11c \uae4a\uc774.<\/p>\n<\/div>\n\n<h2>strict mode \u2014 \uc548\uc804 \ubaa8\ub4dc<\/h2>\n\n<pre><code>\"use strict\";\n\nfunction f() {\n  undeclared = 5;   \/\/ \u274c strict \uba74 \uc5d0\ub7ec, \uc544\ub2c8\uba74 \uae00\ub85c\ubc8c \ub9cc\ub4e6\n  delete Object.prototype;   \/\/ \u274c strict \uba74 \uc5d0\ub7ec\n  \/\/ ... \ub4f1 \uc5ec\ub7ec \uc704\ud5d8 \ud328\ud134 \ucc28\ub2e8\n}<\/code><\/pre>\n\n<p>ESM (import\/export) \ud30c\uc77c\uc740 <strong>\uc790\ub3d9\uc73c\ub85c strict<\/strong>\uc785\ub2c8\ub2e4. \uc61b \uc2a4\ud0c0\uc77c \uc2a4\ud06c\ub9bd\ud2b8\ub9cc \uba85\uc2dc \ud544\uc694. \uc0c8 \ucf54\ub4dc\ub294 \uc2e0\uacbd \uc548 \uc368\ub3c4 strict \uc785\ub2c8\ub2e4.<\/p>\n\n<h2>\ud55c \uc904 \uc694\uc57d \u2014 \ubcc0\uc218 \uc791\ub3d9\uc758 \ubaa8\ub4e0 \uac83<\/h2>\n\n<ul>\n  <li>\ubcc0\uc218\ub294 \uc120\uc5b8\ub41c <strong>\ube14\ub85d \uc548<\/strong>\uc5d0\uc11c\ub9cc \ubcf4\uc784 (let\/const).<\/li>\n  <li>\ud568\uc218\uc640 var \ub294 \ud638\uc774\uc2a4\ud305\ub428. let\/const \ub294 <strong>TDZ<\/strong> \ub85c \uc120\uc5b8 \uc804 \uc0ac\uc6a9 \ucc28\ub2e8.<\/li>\n  <li>\uc548\uc5d0\uc11c \ubc16\uc73c\ub85c \ucc28\ub840\ub85c \ubcc0\uc218\ub97c \ucc3e\uc74c(\uc2a4\ucf54\ud504 \uccb4\uc778).<\/li>\n  <li>\ud568\uc218\uac00 \uc678\ubd80 \ubcc0\uc218\ub97c \uae30\uc5b5\ud558\uba74 \uadf8\uac8c <strong>\ud074\ub85c\uc800<\/strong>.<\/li>\n  <li>3\ud3b8\uc758 \uacb0\ub860 \uadf8\ub300\ub85c \u2014 <strong>const \uac00 \uae30\ubcf8, var \ub294 \uae08\uc9c0<\/strong>.<\/li>\n<\/ul>\n\n<div class=\"cta\">\n  <h3>13\ud3b8 \u2014 \uc5d0\ub7ec \ucc98\ub9ac try\u00b7catch\u00b7finally\u00b7throw<\/h3>\n  <p>Error \uac1d\uccb4, \ucee4\uc2a4\ud140 \uc5d0\ub7ec, \uc5d0\ub7ec \ub2e4\uc2dc \ub358\uc9c0\uae30.<\/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: 11\ud3b8 \ubb38\uc790\uc5f4 \u00b7 \ud604\uc7ac: <strong>12\ud3b8 (\uae30\ucd08)<\/strong> \u00b7 \ub2e4\uc74c \u2192 13\ud3b8 \uc5d0\ub7ec \ucc98\ub9ac \u00b7 \uc9c4\ud589: <strong>12\/26<\/strong>\n<\/div>\n\n<\/article>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\uc2a4\ucf54\ud504\u00b7\ud638\uc774\uc2a4\ud305\u00b7TDZ\u00b7\ud074\ub85c\uc800 \ub9db\ubcf4\uae30. 26\ud3b8 \uad50\uc7ac 12\ud3b8.<\/p>\n","protected":false},"author":1,"featured_media":538,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-344","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\/344","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=344"}],"version-history":[{"count":4,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/344\/revisions"}],"predecessor-version":[{"id":564,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/posts\/344\/revisions\/564"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media\/538"}],"wp:attachment":[{"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/media?parent=344"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/categories?post=344"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/junai.ai\/blog\/wp-json\/wp\/v2\/tags?post=344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}