{"author_name":"micronwave","url":"https://micronwave.hatenablog.jp/entry/20130603/1370244114","blog_url":"https://micronwave.hatenablog.jp/","provider_url":"https://hatena.blog","image_url":null,"categories":[],"published":"2013-06-03 16:21:54","author_url":"https://blog.hatena.ne.jp/micronwave/","provider_name":"Hatena Blog","description":"\u6bce\u56de\u8abf\u3079\u3066\u308b\u6c17\u304c\u3059\u308b\u306e\u3067\u30e1\u30e2\u3063\u3066\u304a\u304f javascript\u3067\u5909\u6570(\u30aa\u30d6\u30b8\u30a7\u30af\u30c8)\u306e\u4e2d\u8eab\u304cnull\u306e\u6642\u3001\u7279\u5b9a\u306e\u51e6\u7406\u3092\u3059\u308b \u3068\u3044\u3063\u305f\u6587\u3092\u66f8\u304d\u305f\u3044\u6642 if(hoge == null){ //hoge\u304cnull\u306e\u6642\u306e\u51e6\u7406 } else { //hoge\u306b\u4f55\u304b\u5165\u3063\u3066\u308b\u6642\u306e\u51e6\u7406 } \u3068\u3057\u304c\u3061 \u3067\u3082\u3001null\u3084undefine\u306e\u3068\u304d\u306ffalse\u3092\u8fd4\u3057\u3066\u304f\u308c\u308b\u306e\u3067 if(hoge){ //hoge\u306b\u4f55\u304b\u5165\u3063\u3066\u308b\u6642\u306e\u51e6\u7406 } else { //hoge\u304cnull\u306e\u6642\u306e\u51e6\u7406 } \u3068\u66f8\u3044\u3066\u3082\u5927\u4e08\u592b\uff01 \u307e\u305f\u3001\u5909\u6570\u304c 0 \u201d\u201d\uff08\u7a7a\u767d\u6587\u5b57\uff09 \u306e\u6642\u306a\u3069\u3082false\u3092\u8fd4\u3059","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmicronwave.hatenablog.jp%2Fentry%2F20130603%2F1370244114\" title=\"\u5909\u6570\u304c&quot;null&quot;\u3084&quot;undefine&quot;\u306e\u5224\u5b9a\u3000javascript - \u76ee\u6307\u305b\u975e\u30d7\u30ed\u30b0\u30e9\u30de\u30fc\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","title":"\u5909\u6570\u304c\"null\"\u3084\"undefine\"\u306e\u5224\u5b9a\u3000javascript","type":"rich","height":"190","blog_title":"\u76ee\u6307\u305b\u975e\u30d7\u30ed\u30b0\u30e9\u30de\u30fc"}