{"id":210,"date":"2014-07-21T21:35:45","date_gmt":"2014-07-22T06:35:45","guid":{"rendered":"http:\/\/blog.box.kr\/?p=210"},"modified":"2014-07-21T21:35:45","modified_gmt":"2014-07-22T06:35:45","slug":"javascript-%ec%9d%98-%ec%9d%98%eb%af%b8","status":"publish","type":"post","link":"https:\/\/blog.box.kr\/?p=210","title":{"rendered":"javascript ==, ===\uc758 \uc758\ubbf8"},"content":{"rendered":"<pre class=\"default prettyprint prettyprinted\" style=\"color: #000000;\"><code><span class=\"lit\" style=\"color: #800000;\">0<\/span><span class=\"pun\">==<\/span><span class=\"kwd\" style=\"color: #00008b;\">false<\/span><span class=\"com\" style=\"color: #808080;\">\/\/ true\n<\/span><span class=\"lit\" style=\"color: #800000;\">0<\/span><span class=\"pun\">===<\/span><span class=\"kwd\" style=\"color: #00008b;\">false<\/span><span class=\"com\" style=\"color: #808080;\">\/\/ false, because they are of a different type\n<\/span><span class=\"lit\" style=\"color: #800000;\">1<\/span><span class=\"pun\">==<\/span><span class=\"str\" style=\"color: #800000;\">\"1\"<\/span><span class=\"com\" style=\"color: #808080;\">\/\/ true, auto type coercion\n<\/span><span class=\"lit\" style=\"color: #800000;\">1<\/span><span class=\"pun\">===<\/span><span class=\"str\" style=\"color: #800000;\">\"1\"<\/span><span class=\"com\" style=\"color: #808080;\">\/\/ false, because they are of a different type<\/span><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>0==false\/\/ true 0===false\/\/ false, because they are of a different type 1==&#8221;1&#8243;\/\/ true, auto type coercion 1===&#8221;1&#8243;\/\/ false, because they are of a different type<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"ngg_post_thumbnail":0,"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[15,16],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5q9Zn-3o","jetpack-related-posts":[{"id":724,"url":"https:\/\/blog.box.kr\/?p=724","url_meta":{"origin":210,"position":0},"title":"[\ud38c]45 Useful JavaScript Tips, Tricks and Best Practices","date":"2015-04-15","format":false,"excerpt":"http:\/\/modernweb.com\/2013\/12\/23\/45-useful-javascript-tips-tricks-and-best-practices\/ \u00a0 45 Useful JavaScript Tips, Tricks and Best Practices By Saad Mousliki As you know, JavaScript is the number one programming language in the world, the language of the web, of mobile hybrid apps (like PhoneGap or Appcelerator), of the server side (like NodeJS orWakanda) and has many other\u2026","rel":"","context":"In &quot;JAVA&quot;","img":{"alt_text":"keep-calm-and-learn-javascript","src":"https:\/\/i0.wp.com\/fw008950-flywheel.netdna-ssl.com\/wp-content\/uploads\/2013\/12\/keep-calm-and-learn-javascript.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1143,"url":"https:\/\/blog.box.kr\/?p=1143","url_meta":{"origin":210,"position":1},"title":"JQuery\ub85c Checkbox check\uc5ec\ubd80 \ud655\uc778 \ubc0f Label \ud65c\uc6a9 \ubc29\ubc95.","date":"2016-07-28","format":false,"excerpt":"Label\ub85c \ubb36\uc5b4 \uc8fc\uba74 check button\uc774 \uc544\ub2c8\ub77c \uae00\uc790\ub97c \ub20c\ub7ec\ub3c4\u00a0check button \ub204\ub974\ub294 \uac83 \ucc98\ub7fc \ub41c\ub2e4. \u00a0 \u00a0 \u00a0 \u00a0<label><input type='checkbox' id='check_all' class='input_check' \/> <b>Check me<\/b><\/label> Checked \ud655\uc778 if ( true == \u00a0$(\"#check_all\").is(\":checked\") ) { alert ( \"checked\" ); } else { alert( \" un checked\"); } Check\/ uncheck \ucc98\ub9ac $(\"#check_all\").prop(\"checked\", true );\u2026","rel":"","context":"In &quot;JAVA&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":454,"url":"https:\/\/blog.box.kr\/?p=454","url_meta":{"origin":210,"position":2},"title":"RED5 &amp; FFMPEG &amp; FFserver \uc2a4\ud2b8\ub9ac\ubc0d \uc11c\ubc84 \uad6c\ucd95\ud558\uae30","date":"2014-12-18","format":false,"excerpt":"\u00a0 http:\/\/blog.syszone.co.kr\/2498?category=17 \u00a0 \uc791\uc131\uc790 : \uc11c\uc9c4\uc6b0(alang@syszone.co.kr) \uc791\uc131\uc77c : 2009\ub144 1\uc6d4 5\uc77c 4.1 FFMPEG\ub85c \uc778\ucf54\ub529 \ud658\uacbd \uad6c\ucd95\ud558\uae30 - \uae30\ubcf8 \ud504\ub85c\uadf8\ub7a8 \uc124\uce58 # yum install ruby # yum install ncurses-devel* # yum install lame # yum install libogg # yum install libvorbis # yum install flvtool2 # yum install ffmpeg - \ucf54\ub371\u2026","rel":"","context":"In &quot;\uae30\uc220\uc790\ub8cc&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":701,"url":"https:\/\/blog.box.kr\/?p=701","url_meta":{"origin":210,"position":3},"title":"TOMCAT Virtual Host\ub9cc\ub4e4\uae30","date":"2015-04-15","format":false,"excerpt":"1.\u00a0${catalina.home}\/conf\/server.xml \ud654\uc77c\uc744 \uc5f4\uc5b4\uc11c \uc544\ub798\uc640 \uac19\uc774 \ubcc0\uacbd <Engine name=\"Catalina\"defaultHost=\"localhost\"debug=\"0\"> To <Engine name=\"Catalina\"defaultHost=\"www.example.com\"debug=\"0\"> ** \uc5ec\uae30\uc11c \uc9c0\uc815\ud55c defaultHost\ub294 \uc9c0\uc815\ub418\uc9c0 \uc54a\uc740 \uc0c1\ud0dc\ub85c \uc811\uc18d ( ie. IP\ub85c \uc811\uc18d \ub4f1 )\uc77c\ub54c \uae30\ubcf8\uc73c\ub85c \ubcf4\uc77c \uc0ac\uc774\ud2b8 2. \uc0ac\uc6a9\ud560 \uac00\uc0c1 \ud638\uc2a4\ud2b8 \uc815\ubcf4\ub97c \ucd94\uac00 <Host name=\"localhost\"debug=\"0\"appBase=\"webapps\" \u00a0unpackWARs=\"true\"autoDeploy=\"true\" \u00a0xmlValidation=\"false\"xmlNamespaceAware=\"false\"> To \u00a0 \u00a0<Host name=\"www.example.com\"debug=\"0\"appBase=\"public\" \u00a0 \u00a0 \u00a0 \u00a0unpackWARs=\"true\"autoDeploy=\"true\" \u00a0 \u00a0 \u00a0 \u00a0xmlValidation=\"false\"xmlNamespaceAware=\"false\">\u2026","rel":"","context":"In &quot;\uae30\uc220\uc790\ub8cc&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":166,"url":"https:\/\/blog.box.kr\/?p=166","url_meta":{"origin":210,"position":4},"title":"\uba54\uc2dc\uc9c0 \ud6c5(Message Hook)","date":"2014-07-08","format":false,"excerpt":"\uba54\uc2dc\uc9c0 \ud6c5(Message Hook) \u00a0 \ud504\ub85c\uadf8\ub7a8\uc5d0\uc11c \ubc1c\uc0dd\ud558\ub294 \uba54\uc2dc\uc9c0\ub97c \uac10\uc2dc\ud558\uba74\uc11c \ud2b9\uc815 \uba54\uc2dc\uc9c0\uac00 \ucc98\ub9ac\ub418\uae30 \uc804\uc5d0 \ud574\ub2f9 \uba54\uc2dc\uc9c0\ub97c \uac00\ub85c\ucc44\uc5b4 \ubcc4\ub3c4\ub85c \uc815\uc758\ub41c \uae30\ub2a5\uc744 \uc218\ud589\ud558\ub3c4\ub85d \uc9c0\uc6d0\ud558\ub294 \ud504\ub85c\uadf8\ub798\ubc0d \uae30\ubc95\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ub9e4\ucee4\ub2c8\uc998\uc744 \uc774\uc6a9\ud558\uc5ec \ub2e4\ub978 \ud504\ub85c\uadf8\ub7a8\uc758 \ucc98\ub9ac\uac00 \uc77c\uc5b4\ub098\uae30 \uc804\uc5d0 \uc6d0\ud558\ub294 \uae30\ub2a5\uc744 \uc218\ud589\ud558\ub3c4\ub85d \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. 1. \ud6c5\uc758 \uc885\ub958 1) \uc804\uc5ed \ud6c5 \uc708\ub3c4\uc6b0 \uc804\uccb4 \uc601\uc5ed\uc5d0 \ubc1c\uc0dd\ud558\ub294 \uba54\uc2dc\uc9c0\ub97c \uac10\uc2dc \ubcc4\ub3c4\uc758\u2026","rel":"","context":"In &quot;MFC &amp; WINDOWS&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":103,"url":"https:\/\/blog.box.kr\/?p=103","url_meta":{"origin":210,"position":5},"title":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uc758 \uc624\ub958\ub97c \uc9c0\uc801\ud574\uc90d\ub2c8\ub2e4","date":"2014-06-12","format":false,"excerpt":"\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8\uc758 \uc624\ub958\ub97c \uc9c0\uc801\ud574\uc90d\ub2c8\ub2e4 <Script> function View() { var sr = fo.editor.value; var tr = fo.edi.value; id=window.open('','','width=300,height=200') id.document.write(tr+sr+'<body bgcolor=black>'); if(fo.editor.value=='')id.document.write('<title>\uc2a4\ud06c\ub9bd\ud2b8\uc624\ub958\ud14c\uc2a4\ud305<\/title><body bgcolor=black><font color=lime size=2 face=\ub3cb\uc6c0>\uc624\ub958\uc5c6\uc74c'); id.document.close(); return true;} function ClearText() { fo.editor.value=\"\"; return;} < !---\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ \/\/ \ucd5c\ud638\uc11d \/\/ \/\/ 2001.7.6 \/\/ \/\/ zmaster \/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ ---> < \/script> <form name=fo> < input\u2026","rel":"","context":"In &quot;javascript&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/210"}],"collection":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=210"}],"version-history":[{"count":0,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/210\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}