{"id":26,"date":"2025-09-25T11:47:44","date_gmt":"2025-09-25T02:47:44","guid":{"rendered":"https:\/\/devserver.kr\/blog\/?p=26"},"modified":"2025-09-29T11:46:28","modified_gmt":"2025-09-29T02:46:28","slug":"%ec%9e%90%eb%b0%94%ec%8a%a4%ed%81%ac%eb%a6%bd%ed%8a%b8-%eb%ac%b8%eb%b2%95-%ec%a0%95%eb%a6%ac-%ec%9e%91%ec%84%b1-%ec%a4%91","status":"publish","type":"post","link":"https:\/\/devserver.kr\/blog\/javascript\/%ec%9e%90%eb%b0%94%ec%8a%a4%ed%81%ac%eb%a6%bd%ed%8a%b8-%eb%ac%b8%eb%b2%95-%ec%a0%95%eb%a6%ac-%ec%9e%91%ec%84%b1-%ec%a4%91\/","title":{"rendered":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \ubb38\ubc95 \uc815\ub9ac\u001c- \uc791\uc131 \uc911"},"content":{"rendered":"\n<div class=\"wp-block-jetpack-markdown\"><h1>javascript \uc5b8\uc5b4<\/h1>\n<h3>\ub370\uc774\ud130 \ud0c0\uc785<\/h3>\n<ul>\n<li>\n<p>Boolean<\/p>\n<\/li>\n<li>\n<p>null<\/p>\n<\/li>\n<li>\n<p>undefined<\/p>\n<\/li>\n<li>\n<p>Number<\/p>\n<\/li>\n<li>\n<p>String\n\ubb38\uc790\uc5f4 \uae38\uc774<\/p>\n<\/li>\n<\/ul>\n<pre><code>let str1 = 'abc';\nlet l = str1.length;\n<\/code><\/pre>\n<ul>\n<li>Object<\/li>\n<\/ul>\n<h3>\ubcc0\uc218 \uc120\uc5b8<\/h3>\n<ul>\n<li>var, let, const<\/li>\n<\/ul>\n<h3>\uc5f0\uc0b0\uc790<\/h3>\n<ul>\n<li>+, -, \/, *, % \ub4f1\uc815\uc5f4<\/li>\n<li>\ub17c\ub9ac\uc5f0\uc0b0\uc790<\/li>\n<\/ul>\n<h3>\ubc30\uc5f4<\/h3>\n<ul>\n<li>\uc120\uc5b8\ubc29\ubc95 literal, new Array()<\/li>\n<\/ul>\n<pre><code class=\"language-javascript\">var arr = new Array();\n<\/code><\/pre>\n<ul>\n<li>\uc0ac\uc6a9\ubc95 : forEach()<\/li>\n<\/ul>\n<pre><code>arr.forEach( element =&gt; {\n    console.log(element)\n})\n\narr.forEach(function(element) {\n   console.log(element);\n});\n<\/code><\/pre>\n<ul>\n<li>\uae38\uc774\uad6c\ud558\ub294 \ubc95<\/li>\n<\/ul>\n<pre><code>let arrayLength = arr.length;\n<\/code><\/pre>\n<ul>\n<li>\ubc30\uc5f4 \ub2e4\ub8e8\ub294 \ud568\uc218\ub4e4<\/li>\n<\/ul>\n<h3>\ud0c0\uc785 \ubcc0\uacbd<\/h3>\n<p>\uc22b\uc790\ub97c \ubb38\uc790\ub85c, \ubb38\uc790\uc5f4\uc744 \uc22b\uc790\ub85c<\/p>\n<ul>\n<li>parseInt()<\/li>\n<li>parseFloat()<\/li>\n<\/ul>\n<h3>\uc870\uac74\ubb38<\/h3>\n<ul>\n<li>if<\/li>\n<li>switch<\/li>\n<li>try\u2026catch<\/li>\n<\/ul>\n<h3>\ubc18\ubcf5\ubb38<\/h3>\n<ul>\n<li>for<\/li>\n<\/ul>\n<pre><code>for (var i = 0; i &lt; 10; i++) {\n\n}\n\n- for...in\nfor (var n in obj) {\n\n}\n\n- for...of\nfor (var v of arr) {\n\n}\n<\/code><\/pre>\n<ul>\n<li>do\u2026while<\/li>\n<li>while<\/li>\n<\/ul>\n<h3>\ud568\uc218<\/h3>\n<ul>\n<li>\uc120\uc5b8 \ubc29\ubc95<\/li>\n<li>\uc0ac\uc6a9 \ubc29\ubc95<\/li>\n<li>\uae30\ubcf8 \ub0b4\uc7a5\ub418\uc5b4 \uc788\ub294, \uc790\uc8fc \uc0ac\uc6a9\ud560 \ub9cc\ud55c \ud568\uc218\ub4e4<\/li>\n<\/ul>\n<h3>Object<\/h3>\n<ul>\n<li>\uc120\uc5b8 \ubc29\ubc95<\/li>\n<li>\uc0ac\uc6a9 \ubc29\ubc95<\/li>\n<li>JSON\uacfc\uc758 \uad00\ub828\uc131<\/li>\n<\/ul>\n<h3>Class<\/h3>\n<ul>\n<li>\uc120\uc5b8 \ubc29\ubc95<\/li>\n<li>\uc0ac\uc6a9 \ubc29\ubc95<\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9],"tags":[],"class_list":["post-26","post","type-post","status-publish","format-standard","hentry","category-javascript"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/devserver.kr\/blog\/wp-json\/wp\/v2\/posts\/26","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devserver.kr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devserver.kr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devserver.kr\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/devserver.kr\/blog\/wp-json\/wp\/v2\/comments?post=26"}],"version-history":[{"count":5,"href":"https:\/\/devserver.kr\/blog\/wp-json\/wp\/v2\/posts\/26\/revisions"}],"predecessor-version":[{"id":68,"href":"https:\/\/devserver.kr\/blog\/wp-json\/wp\/v2\/posts\/26\/revisions\/68"}],"wp:attachment":[{"href":"https:\/\/devserver.kr\/blog\/wp-json\/wp\/v2\/media?parent=26"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devserver.kr\/blog\/wp-json\/wp\/v2\/categories?post=26"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devserver.kr\/blog\/wp-json\/wp\/v2\/tags?post=26"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}