<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>osyo-manga</author_name>
  <author_url>https://blog.hatena.ne.jp/osyo-manga/</author_url>
  <blog_title>Secret Garden(Instrumental)</blog_title>
  <blog_url>https://secret-garden.hatenablog.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>JavaScript でセミコロンを付けるべきか否かっていうは割と宗教的な違いがあると思います。 じゃあ、実際セミコロンをつけなかった場合にどういう弊害があるのか、というのを簡単に調べてみました。 その中で気になった記述をいくつかピックアップしてみます。 行頭が ( から始まる JavaScript の場合、グローバル空間を汚染しないためによう以下のように (function(){}) で囲ってしまうというテクニックが使われます。 (function() { const a = 1; const b = 2; const c = 3; })(); これ自体は特に問題はないんですが、次のように『…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2017%2F10%2F15%2F112123&quot; title=&quot;JavaScript でセミコロンを省略した場合の弊害 - Secret Garden(Instrumental)&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-10-15 11:21:23</published>
  <title>JavaScript でセミコロンを省略した場合の弊害</title>
  <type>rich</type>
  <url>https://secret-garden.hatenablog.com/entry/2017/10/15/112123</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
