{"id":25892,"date":"2024-10-27T06:48:21","date_gmt":"2024-10-27T06:48:21","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=25892"},"modified":"2024-11-26T07:52:02","modified_gmt":"2024-11-26T07:52:02","slug":"%eb%a6%ac%ec%95%a1%ed%8a%b8-%ea%b0%95%ec%a2%8c-truthy-falsy","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/25892\/","title":{"rendered":"\ub9ac\uc561\ud2b8 \uac15\uc88c: Truthy &#038; Falsy"},"content":{"rendered":"<p><body><\/p>\n<article>\n<header>\n<p>\uc791\uc131\uc790: \uc870\uad11\ud615<\/p>\n<p>\ub0a0\uc9dc: 2024\ub144 11\uc6d4 26\uc77c<\/p>\n<\/header>\n<section>\n<h2>1. \uc11c\ub860<\/h2>\n<p>\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\ub294 \ub3d9\uc801 \ud0c0\uc785\uc744 \uc9c0\uc6d0\ud558\ub294 \uc5b8\uc5b4\ub85c, \uac12\uc774 \uac00\uc9c4 &#8220;\uc9c4\ub9ac\uac12(truthiness)&#8221;\uacfc &#8220;\uac70\uc9d3\uac12(falsiness)&#8221;\uc5d0 \ub530\ub77c \ud750\ub984\uc774 \ud06c\uac8c \ub2ec\ub77c\uc9d1\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8\uc5d0\uc11c \uc5b4\ub5bb\uac8c truthy\uc640 falsy \uac12\uc744 \ud65c\uc6a9\ud558\ub294\uc9c0\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uae30\ucd08\uc801\uc778 \uac1c\ub150\ubd80\ud130 \uace0\uae09 \uae30\uc220\uae4c\uc9c0 \ub2e4\ub8f0 \uc608\uc815\uc774\ub2c8, \uc8fc\uc758 \uae4a\uac8c \uc77d\uc5b4\ubcf4\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>2. Truthy\uc640 Falsy\ub780?<\/h2>\n<p>\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uc5d0\uc11c \uac12\uc740 \ud56d\uc0c1 Boolean \uac12\uc73c\ub85c \ubcc0\ud658\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub54c, \ud2b9\uc815 \uac12\uc740 &#8216;truthy&#8217;\ub85c \ud3c9\uac00\ub418\uace0, \ub098\uba38\uc9c0\ub294 &#8216;falsy&#8217;\ub85c \ud3c9\uac00\ub429\ub2c8\ub2e4.<\/p>\n<h3>2.1 Falsy \uac12\uc758 \uc815\uc758<\/h3>\n<p>\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uc5d0\uc11c &#8216;falsy&#8217;\ub85c \ud3c9\uac00\ub418\ub294 \uac12\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>false<\/li>\n<li>0 (\uc22b\uc790)<\/li>\n<li>&#8220;&#8221; (\ube48 \ubb38\uc790\uc5f4)<\/li>\n<li>null<\/li>\n<li>undefined<\/li>\n<li>NaN (Not-a-Number)<\/li>\n<\/ul>\n<h3>2.2 Truthy \uac12\uc758 \uc815\uc758<\/h3>\n<p>\uc704\uc758 &#8216;falsy&#8217; \uac12 \uc774\uc678\uc758 \ubaa8\ub4e0 \uac12\uc740 truthy\ub85c \ud3c9\uac00\ub429\ub2c8\ub2e4. \uc5ec\uae30\uc5d0\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uac12\ub4e4\uc774 \ud3ec\ud568\ub429\ub2c8\ub2e4:<\/p>\n<ul>\n<li>true<\/li>\n<li>1 (\uc22b\uc790)<\/li>\n<li>&#8220;hello&#8221; (\ubb38\uc790\uc5f4)<\/li>\n<li>{ } (\ube48 \uac1d\uccb4)<\/li>\n<li>[ ] (\ube48 \ubc30\uc5f4)<\/li>\n<li>\ud568\uc218<\/li>\n<\/ul>\n<\/section>\n<section>\n<h2>3. Truthy &amp; Falsy\uc758 \ud65c\uc6a9<\/h2>\n<p>\ub9ac\uc561\ud2b8\uc5d0\uc11c \ucef4\ud3ec\ub10c\ud2b8\uc758 \uc0c1\ud0dc\ub97c \uad00\ub9ac\ud558\uac70\ub098 \uc870\uac74\ubd80 \ub80c\ub354\ub9c1\uc744 \ud560 \ub54c truthy\uc640 falsy \uac12\uc744 \uc790\uc8fc \uc0ac\uc6a9\ud569\ub2c8\ub2e4. \ub530\ub77c\uc11c \uc774\ub7ec\ud55c \uac1c\ub150\uc5d0 \ub300\ud55c \uc774\ud574\ub294 \ub9ac\uc561\ud2b8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uac1c\ubc1c\ud558\ub294 \ub370 \ub9e4\uc6b0 \uc911\uc694\ud569\ub2c8\ub2e4.<\/p>\n<h3>3.1 \uc870\uac74\ubd80 \ub80c\ub354\ub9c1<\/h3>\n<p>\uc870\uac74\ubd80 \ub80c\ub354\ub9c1\uc740 \uc0c1\ud0dc\uc5d0 \ub530\ub77c \uc5b4\ub5a4 \ucef4\ud3ec\ub10c\ud2b8\ub97c \ub80c\ub354\ub9c1\ud560 \uac83\uc778\uc9c0 \uacb0\uc815\ud558\ub294 \ubc29\uc2dd\uc785\ub2c8\ub2e4. \uc544\ub798\uc758 \ucf54\ub4dc\ub97c \uc0b4\ud3b4\ubcf4\uc138\uc694.<\/p>\n<pre><code class=\"language-javascript\">\n{isLoggedIn ? <logoutbutton><\/logoutbutton> : <loginbutton><\/loginbutton>}\n            <\/code><\/pre>\n<p>\uc704 \ucf54\ub4dc\uc5d0\uc11c isLoggedIn\uc774 truthy\ud55c \uacbd\uc6b0 LogoutButton \ucef4\ud3ec\ub10c\ud2b8\ub97c \ub80c\ub354\ub9c1\ud558\uace0, \uadf8\ub807\uc9c0 \uc54a\uc740 \uacbd\uc6b0\uc5d0\ub294 LoginButton\uc744 \ub80c\ub354\ub9c1\ud569\ub2c8\ub2e4.<\/p>\n<h3>3.2 \ub17c\ub9ac AND (&amp;&amp;) \uc5f0\uc0b0\uc790<\/h3>\n<p>\ub9ac\uc561\ud2b8\uc5d0\uc11c\ub294 \ub17c\ub9ac AND \uc5f0\uc0b0\uc790\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc870\uac74\ubd80 \ub80c\ub354\ub9c1\uc744 \uc27d\uac8c \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4:<\/p>\n<pre><code class=\"language-javascript\">\n{isLoggedIn &amp;&amp; <welcomemessage><\/welcomemessage>}\n            <\/code><\/pre>\n<p>\uc774 \ucf54\ub4dc\ub294 isLoggedIn\uc774 truthy\ud55c \uacbd\uc6b0\uc5d0\ub9cc WelcomeMessage\ub97c \ub80c\ub354\ub9c1\ud569\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>4. Truthy &amp; Falsy \uac12\uc758 \ud14c\uc2a4\ud2b8<\/h2>\n<h3>4.1 \ucf58\uc194\uc5d0\uc11c\uc758 \ud655\uc778<\/h3>\n<p>\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uc758 \ucf58\uc194\uc5d0\uc11c \ub2e4\uc591\ud55c \uac12\uc774 truthy \ub610\ub294 falsy\uc778\uc9c0 \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code class=\"language-javascript\">\nconsole.log(Boolean(false)); \/\/ false\nconsole.log(Boolean(0)); \/\/ false\nconsole.log(Boolean(\"\")); \/\/ false\nconsole.log(Boolean(null)); \/\/ false\nconsole.log(Boolean(undefined)); \/\/ false\nconsole.log(Boolean(NaN)); \/\/ false\n\nconsole.log(Boolean(true)); \/\/ true\nconsole.log(Boolean(1)); \/\/ true\nconsole.log(Boolean(\"hello\")); \/\/ true\nconsole.log(Boolean({})); \/\/ true\nconsole.log(Boolean([])); \/\/ true\nconsole.log(Boolean(function() {})); \/\/ true\n            <\/code><\/pre>\n<p>\uc704 \ucf54\ub4dc\ub97c \uc2e4\ud589\ud574\ubcf4\uba74 \uac01 \uac12\uc5d0 \ub300\ud55c \uc9c4\ub9ac\uac12\uc744 \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>5. \uace0\uae09 \uc0ac\uc6a9\ubc95<\/h2>\n<p>\ub9ac\uc561\ud2b8\uc5d0\uc11c truthy\uc640 falsy \uac12\uc744 \uc880 \ub354 \uace0\uae09\uc801\uc73c\ub85c \uc0ac\uc6a9\ud558\ub294 \uba87 \uac00\uc9c0 \ud328\ud134\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>5.1 \uc0ac\uc6a9\uc790 \uc815\uc758 \ud6c5<\/h3>\n<p>\ub9ac\uc561\ud2b8\uc5d0\uc11c \uc0ac\uc6a9\uc790 \uc815\uc758 \ud6c5\uc744 \ud65c\uc6a9\ud558\uc5ec truthy\uc640 falsy \uac12\uc744 \ud65c\uc6a9\ud558\ub294 \uc608\ub97c \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code class=\"language-javascript\">\nimport { useState } from 'react';\n\nfunction useLogin() {\n    const [isLoggedIn, setLoggedIn] = useState(false);\n    \n    const login = () =&gt; {\n        setLoggedIn(true);\n    };\n\n    const logout = () =&gt; {\n        setLoggedIn(false);\n    };\n\n    return { isLoggedIn, login, logout };\n}\n            <\/code><\/pre>\n<p>\uc704\uc758 \uc0ac\uc6a9\uc790 \uc815\uc758 \ud6c5\uc744 \ud1b5\ud574 \ub85c\uadf8\uc778 \uc0c1\ud0dc\ub97c \uad00\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>5.2 \ucee8\ud14d\uc2a4\ud2b8 API<\/h3>\n<p>\ub9ac\uc561\ud2b8\uc758 Context API\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc804\uccb4 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c login \uc0c1\ud0dc\ub97c \uacf5\uc720\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc544\ub798\uc640 \uac19\uc774 \uc124\uc815\ud569\ub2c8\ub2e4:<\/p>\n<pre><code class=\"language-javascript\">\nimport React, { createContext, useContext } from 'react';\n\nconst AuthContext = createContext();\n\nexport function AuthProvider({ children }) {\n    const { isLoggedIn, login, logout } = useLogin();\n    return (\n        <authcontext.provider isloggedin,=\"\" login,=\"\" logout=\"\" value=\"{{\" }}=\"\">\n            {children}\n        <\/authcontext.provider>\n    );\n}\n\nexport function useAuth() {\n    return useContext(AuthContext);\n}\n            <\/code><\/pre>\n<p>\uc774\uc81c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uc5b4\ub290 \uc704\uce58\uc5d0\uc11c\ub098 useAuth \ud6c5\uc744 \ud1b5\ud574 \ub85c\uadf8\uc778 \uc0c1\ud0dc\uc640 \uad00\ub828\ub41c \uac12\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>6. \uacb0\ub860<\/h2>\n<p>\ub9ac\uc561\ud2b8\uc5d0\uc11c truthy\uc640 falsy \uac1c\ub150\uc740 \ucef4\ud3ec\ub10c\ud2b8 \ub80c\ub354\ub9c1\uc758 \uc870\uac74\uc744 \uc124\uc815\ud560 \ub54c \uc911\uc694\ud55c \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uac12\uc744 \uc5b4\ub5bb\uac8c \ud65c\uc6a9\ud558\ub294\uc9c0\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ub3d9\uc791 \ubc29\uc2dd\uc5d0 \ud070 \uc601\ud5a5\uc744 \ubbf8\uce60 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\ub97c \ud1b5\ud574 \uae30\ubcf8\uc801\uc778 \uc774\ud574\ub97c \ub9c8\uce5c \ud6c4, \uc774\ub97c \uc2e4\uc81c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc801\uc6a9\ud574 \ubcf4\uc2dc\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<\/section>\n<footer>\n<p>\uc774 \uc678\uc5d0\ub3c4 \ub2e4\uc591\ud55c \ub9ac\uc561\ud2b8 \uc8fc\uc81c\uc5d0 \uad00\ud574 \uc54c\uace0 \uc2f6\ub2e4\uba74 \ub313\uae00\uc744 \ub0a8\uaca8 \uc8fc\uc138\uc694. \uac10\uc0ac\ud569\ub2c8\ub2e4!<\/p>\n<\/footer>\n<\/article>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc791\uc131\uc790: \uc870\uad11\ud615 \ub0a0\uc9dc: 2024\ub144 11\uc6d4 26\uc77c 1. \uc11c\ub860 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\ub294 \ub3d9\uc801 \ud0c0\uc785\uc744 \uc9c0\uc6d0\ud558\ub294 \uc5b8\uc5b4\ub85c, \uac12\uc774 \uac00\uc9c4 &#8220;\uc9c4\ub9ac\uac12(truthiness)&#8221;\uacfc &#8220;\uac70\uc9d3\uac12(falsiness)&#8221;\uc5d0 \ub530\ub77c \ud750\ub984\uc774 \ud06c\uac8c \ub2ec\ub77c\uc9d1\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8\uc5d0\uc11c \uc5b4\ub5bb\uac8c truthy\uc640 falsy \uac12\uc744 \ud65c\uc6a9\ud558\ub294\uc9c0\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uae30\ucd08\uc801\uc778 \uac1c\ub150\ubd80\ud130 \uace0\uae09 \uae30\uc220\uae4c\uc9c0 \ub2e4\ub8f0 \uc608\uc815\uc774\ub2c8, \uc8fc\uc758 \uae4a\uac8c \uc77d\uc5b4\ubcf4\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4. 2. Truthy\uc640 Falsy\ub780? \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uc5d0\uc11c \uac12\uc740 \ud56d\uc0c1 Boolean \uac12\uc73c\ub85c \ubcc0\ud658\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub54c, \ud2b9\uc815 \uac12\uc740 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/25892\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ub9ac\uc561\ud2b8 \uac15\uc88c: Truthy &#038; Falsy&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[20],"tags":[],"class_list":["post-25892","post","type-post","status-publish","format-standard","hentry","category-20"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ub9ac\uc561\ud2b8 \uac15\uc88c: Truthy &amp; Falsy - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/25892\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ub9ac\uc561\ud2b8 \uac15\uc88c: Truthy &amp; Falsy - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc791\uc131\uc790: \uc870\uad11\ud615 \ub0a0\uc9dc: 2024\ub144 11\uc6d4 26\uc77c 1. \uc11c\ub860 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\ub294 \ub3d9\uc801 \ud0c0\uc785\uc744 \uc9c0\uc6d0\ud558\ub294 \uc5b8\uc5b4\ub85c, \uac12\uc774 \uac00\uc9c4 &#8220;\uc9c4\ub9ac\uac12(truthiness)&#8221;\uacfc &#8220;\uac70\uc9d3\uac12(falsiness)&#8221;\uc5d0 \ub530\ub77c \ud750\ub984\uc774 \ud06c\uac8c \ub2ec\ub77c\uc9d1\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8\uc5d0\uc11c \uc5b4\ub5bb\uac8c truthy\uc640 falsy \uac12\uc744 \ud65c\uc6a9\ud558\ub294\uc9c0\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uae30\ucd08\uc801\uc778 \uac1c\ub150\ubd80\ud130 \uace0\uae09 \uae30\uc220\uae4c\uc9c0 \ub2e4\ub8f0 \uc608\uc815\uc774\ub2c8, \uc8fc\uc758 \uae4a\uac8c \uc77d\uc5b4\ubcf4\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4. 2. Truthy\uc640 Falsy\ub780? \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uc5d0\uc11c \uac12\uc740 \ud56d\uc0c1 Boolean \uac12\uc73c\ub85c \ubcc0\ud658\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub54c, \ud2b9\uc815 \uac12\uc740 &hellip; \ub354 \ubcf4\uae30 &quot;\ub9ac\uc561\ud2b8 \uac15\uc88c: Truthy &#038; Falsy&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/25892\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T06:48:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:52:02+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/25892\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/25892\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\ub9ac\uc561\ud2b8 \uac15\uc88c: Truthy &#038; Falsy\",\"datePublished\":\"2024-10-27T06:48:21+00:00\",\"dateModified\":\"2024-11-26T07:52:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/25892\/\"},\"wordCount\":55,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\ub9ac\uc561\ud2b8 \uae30\ucd08 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/25892\/\",\"url\":\"https:\/\/atmokpo.com\/w\/25892\/\",\"name\":\"\ub9ac\uc561\ud2b8 \uac15\uc88c: Truthy & Falsy - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T06:48:21+00:00\",\"dateModified\":\"2024-11-26T07:52:02+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/25892\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/25892\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/25892\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ub9ac\uc561\ud2b8 \uac15\uc88c: Truthy &#038; Falsy\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\ub9ac\uc561\ud2b8 \uac15\uc88c: Truthy & Falsy - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/25892\/","og_locale":"ko_KR","og_type":"article","og_title":"\ub9ac\uc561\ud2b8 \uac15\uc88c: Truthy & Falsy - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc791\uc131\uc790: \uc870\uad11\ud615 \ub0a0\uc9dc: 2024\ub144 11\uc6d4 26\uc77c 1. \uc11c\ub860 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\ub294 \ub3d9\uc801 \ud0c0\uc785\uc744 \uc9c0\uc6d0\ud558\ub294 \uc5b8\uc5b4\ub85c, \uac12\uc774 \uac00\uc9c4 &#8220;\uc9c4\ub9ac\uac12(truthiness)&#8221;\uacfc &#8220;\uac70\uc9d3\uac12(falsiness)&#8221;\uc5d0 \ub530\ub77c \ud750\ub984\uc774 \ud06c\uac8c \ub2ec\ub77c\uc9d1\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \ub9ac\uc561\ud2b8\uc5d0\uc11c \uc5b4\ub5bb\uac8c truthy\uc640 falsy \uac12\uc744 \ud65c\uc6a9\ud558\ub294\uc9c0\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uae30\ucd08\uc801\uc778 \uac1c\ub150\ubd80\ud130 \uace0\uae09 \uae30\uc220\uae4c\uc9c0 \ub2e4\ub8f0 \uc608\uc815\uc774\ub2c8, \uc8fc\uc758 \uae4a\uac8c \uc77d\uc5b4\ubcf4\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4. 2. Truthy\uc640 Falsy\ub780? \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uc5d0\uc11c \uac12\uc740 \ud56d\uc0c1 Boolean \uac12\uc73c\ub85c \ubcc0\ud658\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub54c, \ud2b9\uc815 \uac12\uc740 &hellip; \ub354 \ubcf4\uae30 \"\ub9ac\uc561\ud2b8 \uac15\uc88c: Truthy &#038; Falsy\"","og_url":"https:\/\/atmokpo.com\/w\/25892\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T06:48:21+00:00","article_modified_time":"2024-11-26T07:52:02+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/25892\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/25892\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\ub9ac\uc561\ud2b8 \uac15\uc88c: Truthy &#038; Falsy","datePublished":"2024-10-27T06:48:21+00:00","dateModified":"2024-11-26T07:52:02+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/25892\/"},"wordCount":55,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\ub9ac\uc561\ud2b8 \uae30\ucd08 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/25892\/","url":"https:\/\/atmokpo.com\/w\/25892\/","name":"\ub9ac\uc561\ud2b8 \uac15\uc88c: Truthy & Falsy - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T06:48:21+00:00","dateModified":"2024-11-26T07:52:02+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/25892\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/25892\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/25892\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\ub9ac\uc561\ud2b8 \uac15\uc88c: Truthy &#038; Falsy"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/25892","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=25892"}],"version-history":[{"count":2,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/25892\/revisions"}],"predecessor-version":[{"id":43189,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/25892\/revisions\/43189"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=25892"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=25892"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=25892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}