{"id":235,"date":"2014-04-23T18:10:23","date_gmt":"2014-04-23T09:10:23","guid":{"rendered":"http:\/\/gomocool.net\/gomokulog\/?p=235"},"modified":"2014-04-25T14:46:01","modified_gmt":"2014-04-25T05:46:01","slug":"%e3%83%89%e3%83%bb%e3%83%a2%e3%83%ab%e3%82%ac%e3%83%b3%e3%81%ae%e6%b3%95%e5%89%87%e3%80%80%e3%82%92%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%a0%e3%81%a7%e4%bd%bf%e3%81%86","status":"publish","type":"post","link":"https:\/\/gomokulog.gomocool.net\/?p=235","title":{"rendered":"\u30c9\u30fb\u30e2\u30eb\u30ac\u30f3\u306e\u6cd5\u5247\u3000\u3092\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u4f7f\u3046"},"content":{"rendered":"<p>\u30c9\u30fb\u30e2\u30eb\u30ac\u30f3\u306e\u6cd5\u5247\u3002<\/p>\n<p>\u60c5\u5831\u6280\u8853\u306b\u95a2\u308f\u308b\u306a\u3089\u4e00\u5ea6\u306f\u805e\u3044\u305f\u3053\u3068\u306e\u3042\u308b\u30c9\u30fb\u30e2\u30eb\u30ac\u30f3\u5148\u751f\u304c\u8003\u3048\u305f\u6cd5\u5247\u3002<br \/>\n\u3053\u308c\u304c\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3084\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u64cd\u4f5c\u3067\u306f\u3001\u305f\u307e\u306b\u4f7f\u3048\u308b\u3002<\/p>\n<p>\u307e\u308c\u306b\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u3053\u3068\u304c\u3042\u308b\u3002<br \/>\n(*\u4eca\u56de\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306fJavaScript\u306e\u6587\u6cd5\u3067\u66f8\u3044\u3066\u3044\u307e\u3059\u3002)<\/p>\n<pre class=\"lang:js decode:true\">if(word != null &amp;&amp; word !=\"\") {\r\n\tsearch()\/\/\u51e6\u7406A\r\n}else{\r\n\tsetDefault()\/\/\u51e6\u7406B\r\n\tsearch()\/\/\u51e6\u7406A\r\n}<\/pre>\n<p>\u51e6\u7406A\u304c\u691c\u7d22\u3001\u51e6\u7406B\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u8a2d\u5b9a\u3002<\/p>\n<p>\u30fb\u3082\u3068\u3082\u3068\u3001word\u304cnull\u3067\u306a\u304f\u7a7a\u3067\u3082\u306a\u3044\u306a\u3089\u691c\u7d22\u3059\u308b\u4e88\u5b9a\u3060\u3063\u305f\u3002<br \/>\n\u30fb\u3057\u304b\u3057\u3001null\u3084\u7a7a\u306a\u3089\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092\u8a2d\u5b9a\u3057\u3066\u691c\u7d22\u3059\u308b\u3053\u3068\u306b\u306a\u3063\u305f\u3002<br \/>\n\u307f\u305f\u3044\u306a\u30d1\u30bf\u30fc\u30f3\u3067<strong>\u3068\u308a\u3042\u3048\u305a<\/strong>\u5bfe\u5fdc\u3057\u305f\u308a\u3059\u308b\u3068\u4e0a\u8a18\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u306b\u306a\u308b\u3002<\/p>\n<p>(\u4eca\u56de\u306f\u3001\u898b\u308c\u3070\u5206\u304b\u308b\u3088\u3046\u306a\u6761\u4ef6\u3060\u304c\u3001\u4ed6\u4eba\u304c\u4f5c\u3063\u305f\u30b3\u30fc\u30c9\u3067\u4f55\u304c\u3069\u3046\u306a\u3063\u3066\u308b\u304b\u5206\u304b\u3089\u306a\u3044\u8907\u96d1\u306a\u6761\u4ef6\u5206\u5c90\u3067\u3001\u3042\u307e\u308a\u5909\u66f4\u3057\u305f\u304f\u306a\u3044\u6642\u3068\u304b\u3001<strong>\u3068\u308a\u3042\u3048\u305a<\/strong>\u306b\u306a\u3063\u3061\u3083\u3046\u6642\u304c\u3042\u308b\u30fb\u30fb\u30fb)<\/p>\n<p>\u3057\u304b\u3057\u3001\u3053\u308c\u3060\u3068if\u306e\u6761\u4ef6\u306b\u95a2\u308f\u3089\u305asearch()\u304c\u5b9f\u884c\u3055\u308c\u308b\u306e\u306f\u5206\u304b\u308a\u5207\u3063\u3066\u3044\u308b\u306e\u3067\u3001<strong>\u3068\u308a\u3042\u3048\u305a<\/strong>\u5916\u306b\u3060\u3059\u3002<\/p>\n<pre class=\"lang:js decode:true\">if(word != null &amp;&amp; word !=\"\") {\r\n\t\/\/\u4f55\u3082\u3057\u306a\u3044\r\n}else{\r\n\tsetDefault()\/\/\u51e6\u7406B\r\n}\r\nsearch()\/\/\u51e6\u7406A<\/pre>\n<p>\u3059\u308b\u3068\u3001\u4f55\u3082\u3057\u306a\u3044\u6761\u4ef6\u6587\u306b\u306a\u3063\u305f\u308a\u3059\u308b\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u3053\u308c\u306fif\u3068else\u3068\u6761\u4ef6\u3092\u5426\u5b9a\u3067\u3072\u3063\u304f\u308a\u304b\u3048\u305b\u3070if\u3060\u3051\u3067\u3088\u304f\u306a\u308b\u3002\u306e\u3067<strong>\u3068\u308a\u3042\u3048\u305a<\/strong>\u3084\u3063\u3066\u307f\u308b\u3002<\/p>\n<pre class=\"lang:js decode:true\">if (!(word != null &amp;&amp; word !=\"\")) {\r\n\tsetDefault()\/\/\u51e6\u7406B\r\n}\r\nsearch()\/\/\u51e6\u7406A<\/pre>\n<p>\u3055\u3066\u3001\u3053\u3053\u307e\u3067\u306f\u554f\u984c\u306a\u3044\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u3053\u306e\u6761\u4ef6\u3067\u306f\u3001\u300cnull\u3067\u306a\u3044\u304b\u3064\u3001\u7a7a\u3067\u306a\u3044\u5834\u5408\u3067\u306a\u3044\u5834\u5408\u306b\u30fb\u30fb\u30fb\u300d\u3063\u3066\u306a\u3093\u3058\u3083\u3053\u308a\u3083\uff01\uff01<\/p>\n<p>\u306a\u3093\u3068\u304b\u3001\u3059\u3063\u304d\u308a\u3055\u305b\u305f\u3044\u3051\u3069\u3001\u6761\u4ef6\u3092\u3057\u3063\u304b\u308a\u6574\u7406\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3057\u3001\u3053\u308c\u304c\u8907\u96d1\u306a\u6761\u4ef6\u3060\u3068\u7d50\u5c40\u30c6\u30b9\u30c8\u3059\u308b\u7fbd\u76ee\u306b\u306a\u308a\u3001<\/p>\n<p>\u300c\u3081\u3093\u3069\u304f\u305b\u3002\u3053\u308c\u3067\u3044\u3044\u3084\u3002\u300d<\/p>\n<p>\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3093\u306a\u98a8\u306b\u3001\u5426\u5b9a\u306e\u5426\u5b9a\u306e\uff5e\u3063\u3066\u306a\u3063\u305f\u6642\u3053\u305d\u3001<strong>\u30c9\u30e2\u30eb\u30ac\u30f3\u30c1\u30e3\u30f3\u30b9\uff01\uff01<\/strong><\/p>\n<p>\u30c9\u30fb\u30e2\u30eb\u30ac\u30f3\u306e\u6cd5\u5247 \u3092JavaScript\u3067\u8868\u3059\u3068\u4e0b\u8a18\u306e\u3088\u3046\u306a\u611f\u3058\u3002<\/p>\n<pre class=\"lang:js decode:true\">!(P || Q) == !P &amp;&amp; !Q\r\n!(P &amp;&amp; Q) == !P || !Q<\/pre>\n<p>\u3055\u3066\u3001\u3053\u308c\u3092\u4f7f\u3063\u3066\u3055\u3063\u304d\u306e\u3092\u52a0\u5de5\u3059\u308b\u3068\u3002<\/p>\n<pre class=\"lang:default decode:true crayon-selected\">if (!(word != null &amp;&amp; word !=\"\")) { \/\/\u4ee5\u4e0b\u7565<\/pre>\n<p>\u5426\u5b9a\u3067\u62ec\u3063\u3066 &amp;&amp; \u3092 || \u306b\u3059\u308b\u3002<\/p>\n<pre class=\"lang:js decode:true\">if (!( !(word == null || word == \"\") )) { \/\/\u4ee5\u4e0b\u7565<\/pre>\n<p>\u3067\u3001\u5426\u5b9a\u306e\u5426\u5b9a\u3063\u3066\u80af\u5b9a\u3060\u304b\u3089\u3001! \u304c\u4e8c\u3064\u3067\u6253\u3061\u6d88\u3057\u3042\u3046\u3002<\/p>\n<pre class=\"lang:default decode:true\">if (word == null || word == \"\") { \/\/\u4ee5\u4e0b\u7565<\/pre>\n<p>\u3059\u3071\u3089\u3057\u3044\u30b7\u30f3\u30d7\u30eb\uff01<\/p>\n<p>\u4eca\u56de\u307f\u305f\u3044\u306a\u7c21\u5358\u306a\u30d1\u30bf\u30fc\u30f3\u306a\u3089\u3044\u3044\u3093\u3060\u3051\u3069\u3001\u8272\u3005\u3068\u4ed5\u69d8\u304c\u5909\u308f\u3063\u3066\u8907\u96d1\u5316\u3057\u3066\u3001<br \/>\n\u3082\u3046\u3001\u306a\u306b\u304c\u306a\u3093\u3060\u304b\u5206\u304b\u3089\u3093\u72b6\u614b\u306e\u3068\u304d\u306b\u3082\u3001\u4fe1\u983c\u3057\u3066\u4f7f\u3048\u308b\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u30013\u3064\u3067\u30824\u3064\u3067\u3082OK\u3002<br \/>\n\u3055\u3089\u306b\u3001\u771f\u507d\u3092\u3072\u3063\u304f\u308a\u304b\u3048\u3057\u3066\u8ad6\u7406\u548c\u3068\u8ad6\u7406\u7a4d\u3092\u3072\u3063\u304f\u308a\u304b\u3048\u3059\u3060\u3051\u306a\u306e\u3067\u3001\u305d\u3082\u305d\u3082\u5426\u5b9a\u3058\u3083\u306a\u304f\u3066\u3082OK\u3002<\/p>\n<p>\u30c9\u30fb\u30e2\u30eb\u30ac\u30f3\u306e\u6cd5\u5247\u306f\u5049\u5927\u306a\u308a\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30c9\u30fb\u30e2\u30eb\u30ac\u30f3\u306e\u6cd5\u5247\u3002 \u60c5\u5831\u6280\u8853\u306b\u95a2\u308f\u308b\u306a\u3089\u4e00\u5ea6\u306f\u805e\u3044\u305f\u3053\u3068\u306e\u3042\u308b\u30c9\u30fb\u30e2\u30eb\u30ac\u30f3\u5148\u751f\u304c\u8003\u3048\u305f\u6cd5\u5247\u3002 \u3053\u308c\u304c\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3084\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u64cd\u4f5c\u3067\u306f\u3001\u305f\u307e\u306b\u4f7f\u3048\u308b\u3002 \u307e\u308c\u306b\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u3053\u3068\u304c\u3042\u308b\u3002 (*\u4eca\u56de\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306fJavaS&hellip;  <a href=\"https:\/\/gomokulog.gomocool.net\/?p=235\" class=\"more-link\">more <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37],"tags":[67],"class_list":["post-235","post","type-post","status-publish","format-standard","hentry","category-37","tag-67"],"_links":{"self":[{"href":"https:\/\/gomokulog.gomocool.net\/index.php?rest_route=\/wp\/v2\/posts\/235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gomokulog.gomocool.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gomokulog.gomocool.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gomokulog.gomocool.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gomokulog.gomocool.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=235"}],"version-history":[{"count":5,"href":"https:\/\/gomokulog.gomocool.net\/index.php?rest_route=\/wp\/v2\/posts\/235\/revisions"}],"predecessor-version":[{"id":240,"href":"https:\/\/gomokulog.gomocool.net\/index.php?rest_route=\/wp\/v2\/posts\/235\/revisions\/240"}],"wp:attachment":[{"href":"https:\/\/gomokulog.gomocool.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gomokulog.gomocool.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gomokulog.gomocool.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}