{"id":3158,"date":"2019-10-22T17:12:10","date_gmt":"2019-10-22T08:12:10","guid":{"rendered":"https:\/\/www.cotegg.com\/blog\/?p=3158"},"modified":"2019-10-22T17:23:06","modified_gmt":"2019-10-22T08:23:06","slug":"javascriptie%e3%81%aeif%e6%96%87%e3%81%ae%e5%88%a4%e5%ae%9a%e3%81%8cchrome%e3%81%a8%e9%81%95%e3%81%86%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.cotegg.com\/blog\/?p=3158","title":{"rendered":"[JavaScript]IE\u306eif\u6587\u306e\u5224\u5b9a\u304cchrome\u3068\u9055\u3046\uff1f"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3001\u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u3053\u3084\u307e\u3067\u3059\u3002<\/p>\n<p>\u4eca\u6301\u3063\u3066\u3044\u308b\u6848\u4ef6\u3067\u3001IE\u5bfe\u5fdc\u3092\u9032\u3081\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001<br \/>\ncss\u3001js\u5171\u306b\u7d50\u69cb\u8abf\u6574\u304c\u5fc5\u8981\u306a\u70b9\u304c\u51fa\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u5de5\u7a0b\u7684\u306bIE\u5bfe\u5fdc\u304c\u306f\u3042\u307e\u308a\u8003\u616e\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u3059\u304c\u5fc5\u8981\u306a\u306e\u3067\u3001<br \/>\n\u30d4\u30f3\u30c1\u6c17\u5473\u3067\u3082\u3042\u308a\u307e\u3059\u304c\u3001IE\u691c\u8a3c\u7528\u306e\u74b0\u5883\u3092\u4f5c\u3063\u3066\u9032\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3067\u3082\u3053\u306e\u524d\u3001\u7d50\u69cb\u30cf\u30de\u3063\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u3042\u308a\u307e\u3057\u305f\u3002<br \/>\n\u5165\u3063\u3066\u6b32\u3057\u3044if\u5206\u306b\u5168\u7136\u5165\u3063\u3066\u304f\u308c\u306a\u3044\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002<\/p>\n<h2>\u6761\u4ef6\u304ctrue\u306e\u306f\u305a\u306a\u306e\u306bif\u6587\u306e\u51e6\u7406\u304c\u3055\u308c\u306a\u3044\uff1f<\/h2>\n<p>isHoge\u3068isFuga\u3068\u3044\u3046\u771f\u507d\u5024\u304c\u3042\u308b\u3068\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n\/\/ isHoge\u304cfalse\u3067\u3001isFuga\u304ctrue\u306e\u3068\u304d\u306b\r\n\r\nif (!isHoge &amp;&amp; isFuga) {\r\n  \u51e6\u7406\r\n}\r\n<\/pre>\n<p>\u4e0a\u8a18\u306e\u4f8b\u3067\u306fif\u6587\u5185\u306e\u51e6\u7406\u3092\u3057\u3066\u6b32\u3057\u3044\u3067\u3059\u3002<br \/>\n\u3057\u304b\u3057\u3001\u306a\u305c\u304b\u3046\u307e\u304f\u884c\u304d\u307e\u305b\u3093\u3002<br \/>\nisHoge\u3068isFuga\u304c\u672c\u5f53\u306bfalse\u3068true\u304b\u3082\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>()\u3067\u56f2\u3063\u3066\u660e\u793a\u7684\u306b\u3057\u3066\u898b\u305f\u3089\u3046\u307e\u304f\u3044\u3063\u305f\u3002<\/h2>\n<p>\u8151\u306b\u843d\u3061\u306a\u3044\u611f\u3058\u304c\u3057\u306a\u304c\u3089\u3082\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u307f\u305f\u3089\u3046\u307e\u304f\u884c\u304d\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\nif ((!isHoge) &amp;&amp; (isFuga)) {\r\n  \u51e6\u7406\r\n}\r\n<\/pre>\n<p>\u3053\u308c\u3067\u3046\u307e\u304f\u884c\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u5f53\u521d\u306e\u30b3\u30fc\u30c9\u3067\u306f!\u306e\u304b\u304b\u308a\u65b9\u304c\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u89e3\u91c8\u3055\u308c\u3066\u3044\u305f\u306e\u304b\u306a\u30fc\u3068\u601d\u3063\u3066\u307e\u3059\u3002<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\nif (!(isHoge &amp;&amp; isFuga)) {\r\n  \u51e6\u7406\r\n}\r\n<\/pre>\n<p>\u3000<\/p>\n<p>\u3053\u3093\u306a\u3053\u3068\u3082\u3042\u308b\u306e\u3067\u3059\u306d&#8230;<br \/>\n\u51fa\u6765\u308b\u3060\u3051IE\u6848\u4ef6\u306f\u907f\u3051\u308c\u305f\u3089\u907f\u3051\u305f\u307b\u3046\u304c\u3044\u3044\u306a\u3068\u611f\u3058\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3001\u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u3053\u3084\u307e\u3067\u3059\u3002 \u4eca\u6301\u3063\u3066\u3044\u308b\u6848\u4ef6\u3067\u3001IE\u5bfe\u5fdc\u3092\u9032\u3081\u3066\u3044\u308b\u306e &#8230; <\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[7],"tags":[12],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[JavaScript]IE\u306eif\u6587\u306e\u5224\u5b9a\u304cchrome\u3068\u9055\u3046\uff1f | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4<\/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:\/\/www.cotegg.com\/blog\/?p=3158\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[JavaScript]IE\u306eif\u6587\u306e\u5224\u5b9a\u304cchrome\u3068\u9055\u3046\uff1f | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4\" \/>\n<meta property=\"og:description\" content=\"\u3053\u3093\u306b\u3061\u306f\u3001\u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u3053\u3084\u307e\u3067\u3059\u3002 \u4eca\u6301\u3063\u3066\u3044\u308b\u6848\u4ef6\u3067\u3001IE\u5bfe\u5fdc\u3092\u9032\u3081\u3066\u3044\u308b\u306e ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cotegg.com\/blog\/?p=3158\" \/>\n<meta property=\"og:site_name\" content=\"\u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/COTegg.japan\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-10-22T08:12:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-10-22T08:23:06+00:00\" \/>\n<meta name=\"author\" content=\"koyamak\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@cotegg_japan\" \/>\n<meta name=\"twitter:site\" content=\"@cotegg_japan\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"koyamak\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=3158#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=3158\"},\"author\":{\"name\":\"koyamak\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/db878500c9ef5cbdeca0ba2a1c56cac1\"},\"headline\":\"[JavaScript]IE\u306eif\u6587\u306e\u5224\u5b9a\u304cchrome\u3068\u9055\u3046\uff1f\",\"datePublished\":\"2019-10-22T08:12:10+00:00\",\"dateModified\":\"2019-10-22T08:23:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=3158\"},\"wordCount\":51,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/#organization\"},\"keywords\":[\"javascript\"],\"articleSection\":[\"\u6280\u8853\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.cotegg.com\/blog\/?p=3158#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=3158\",\"url\":\"https:\/\/www.cotegg.com\/blog\/?p=3158\",\"name\":\"[JavaScript]IE\u306eif\u6587\u306e\u5224\u5b9a\u304cchrome\u3068\u9055\u3046\uff1f | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4\",\"isPartOf\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/#website\"},\"datePublished\":\"2019-10-22T08:12:10+00:00\",\"dateModified\":\"2019-10-22T08:23:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=3158#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.cotegg.com\/blog\/?p=3158\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=3158#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.cotegg.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[JavaScript]IE\u306eif\u6587\u306e\u5224\u5b9a\u304cchrome\u3068\u9055\u3046\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#website\",\"url\":\"https:\/\/www.cotegg.com\/blog\/\",\"name\":\"COTegg\u306e\u30d0\u30b1\u30c4\",\"description\":\"- Bucket of cotegg -\",\"publisher\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.cotegg.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#organization\",\"name\":\"COTegg Inc.\",\"url\":\"https:\/\/www.cotegg.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2015\/07\/logo_color1_yoko-e1436354651882.png\",\"contentUrl\":\"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2015\/07\/logo_color1_yoko-e1436354651882.png\",\"width\":176,\"height\":60,\"caption\":\"COTegg Inc.\"},\"image\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/COTegg.japan\/\",\"https:\/\/twitter.com\/cotegg_japan\",\"https:\/\/www.instagram.com\/cotegg_japan\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/db878500c9ef5cbdeca0ba2a1c56cac1\",\"name\":\"koyamak\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/54c82918922033a6338233d1ad970bef?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/54c82918922033a6338233d1ad970bef?s=96&d=mm&r=g\",\"caption\":\"koyamak\"},\"url\":\"https:\/\/www.cotegg.com\/blog\/?author=10\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[JavaScript]IE\u306eif\u6587\u306e\u5224\u5b9a\u304cchrome\u3068\u9055\u3046\uff1f | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4","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:\/\/www.cotegg.com\/blog\/?p=3158","og_locale":"ja_JP","og_type":"article","og_title":"[JavaScript]IE\u306eif\u6587\u306e\u5224\u5b9a\u304cchrome\u3068\u9055\u3046\uff1f | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4","og_description":"\u3053\u3093\u306b\u3061\u306f\u3001\u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u3053\u3084\u307e\u3067\u3059\u3002 \u4eca\u6301\u3063\u3066\u3044\u308b\u6848\u4ef6\u3067\u3001IE\u5bfe\u5fdc\u3092\u9032\u3081\u3066\u3044\u308b\u306e ...","og_url":"https:\/\/www.cotegg.com\/blog\/?p=3158","og_site_name":"\u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4","article_publisher":"https:\/\/www.facebook.com\/COTegg.japan\/","article_published_time":"2019-10-22T08:12:10+00:00","article_modified_time":"2019-10-22T08:23:06+00:00","author":"koyamak","twitter_card":"summary_large_image","twitter_creator":"@cotegg_japan","twitter_site":"@cotegg_japan","twitter_misc":{"\u57f7\u7b46\u8005":"koyamak"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.cotegg.com\/blog\/?p=3158#article","isPartOf":{"@id":"https:\/\/www.cotegg.com\/blog\/?p=3158"},"author":{"name":"koyamak","@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/db878500c9ef5cbdeca0ba2a1c56cac1"},"headline":"[JavaScript]IE\u306eif\u6587\u306e\u5224\u5b9a\u304cchrome\u3068\u9055\u3046\uff1f","datePublished":"2019-10-22T08:12:10+00:00","dateModified":"2019-10-22T08:23:06+00:00","mainEntityOfPage":{"@id":"https:\/\/www.cotegg.com\/blog\/?p=3158"},"wordCount":51,"commentCount":0,"publisher":{"@id":"https:\/\/www.cotegg.com\/blog\/#organization"},"keywords":["javascript"],"articleSection":["\u6280\u8853"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.cotegg.com\/blog\/?p=3158#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.cotegg.com\/blog\/?p=3158","url":"https:\/\/www.cotegg.com\/blog\/?p=3158","name":"[JavaScript]IE\u306eif\u6587\u306e\u5224\u5b9a\u304cchrome\u3068\u9055\u3046\uff1f | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4","isPartOf":{"@id":"https:\/\/www.cotegg.com\/blog\/#website"},"datePublished":"2019-10-22T08:12:10+00:00","dateModified":"2019-10-22T08:23:06+00:00","breadcrumb":{"@id":"https:\/\/www.cotegg.com\/blog\/?p=3158#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cotegg.com\/blog\/?p=3158"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.cotegg.com\/blog\/?p=3158#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.cotegg.com\/blog"},{"@type":"ListItem","position":2,"name":"[JavaScript]IE\u306eif\u6587\u306e\u5224\u5b9a\u304cchrome\u3068\u9055\u3046\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/www.cotegg.com\/blog\/#website","url":"https:\/\/www.cotegg.com\/blog\/","name":"COTegg\u306e\u30d0\u30b1\u30c4","description":"- Bucket of cotegg -","publisher":{"@id":"https:\/\/www.cotegg.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.cotegg.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.cotegg.com\/blog\/#organization","name":"COTegg Inc.","url":"https:\/\/www.cotegg.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2015\/07\/logo_color1_yoko-e1436354651882.png","contentUrl":"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2015\/07\/logo_color1_yoko-e1436354651882.png","width":176,"height":60,"caption":"COTegg Inc."},"image":{"@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/COTegg.japan\/","https:\/\/twitter.com\/cotegg_japan","https:\/\/www.instagram.com\/cotegg_japan\/"]},{"@type":"Person","@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/db878500c9ef5cbdeca0ba2a1c56cac1","name":"koyamak","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/54c82918922033a6338233d1ad970bef?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/54c82918922033a6338233d1ad970bef?s=96&d=mm&r=g","caption":"koyamak"},"url":"https:\/\/www.cotegg.com\/blog\/?author=10"}]}},"_links":{"self":[{"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3158"}],"collection":[{"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3158"}],"version-history":[{"count":3,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3158\/revisions"}],"predecessor-version":[{"id":3162,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3158\/revisions\/3162"}],"wp:attachment":[{"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}