<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>leader22</author_name>
  <author_url>https://blog.hatena.ne.jp/leader22/</author_url>
  <blog_title>console.lealog();</blog_title>
  <blog_url>https://lealog.hateblo.jp/</blog_url>
  <categories>
    <anon>Web</anon>
    <anon>Babel</anon>
  </categories>
  <description>ES6使いたいしBabelでやろう でも実行環境は今と同じ よってnodeでもブラウザでも動くようにしたい よーし、 ;(function(global) { class Foo {}; let isNode = 'process' in global, isBrowser = 'document' in global; if (isNode) { module.exports = Foo; } else if (isBrowser) { global.Foo = Foo; } }(this.self || global)); // このグローバルなthisがバベるとundefinedになる・…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flealog.hateblo.jp%2Fentry%2F2015%2F04%2F27%2F203147&quot; title=&quot;Babelで top level this が undefinedになって困った件 - console.lealog();&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>2015-04-27 20:31:47</published>
  <title>Babelで top level this が undefinedになって困った件</title>
  <type>rich</type>
  <url>https://lealog.hateblo.jp/entry/2015/04/27/203147</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
