<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuheiomori0718</author_name>
  <author_url>https://blog.hatena.ne.jp/yuheiomori0718/</author_url>
  <blog_title>メモ置き場</blog_title>
  <blog_url>https://y0m0r.hateblo.jp/</blog_url>
  <categories>
    <anon>javascript</anon>
    <anon>pycharm</anon>
    <anon>memo</anon>
  </categories>
  <description>こんな警告がでてて、どういうことなのかと思ってみてみたら、thisがglobal objectを指している場合は警告をだすようになっていた。 とくに問題はないと思うのでとりあえず、設定をoffにしておいた。 ちなみに上記のコードでは、thisを渡さなくても、即時関数内でのthisはglobal objectを指しているはず。 (function(){ this.location.href // &lt;- thisはglobal object }).call(); だけど、&quot;use strict&quot;になった場合は関数内のthisはundefinedになる。 &quot;use strict&quot; (function…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20120815%2F1345043236&quot; title=&quot;Pycharmのjavascriptエディタでthisがglobal objectを指している場合は警告がでる - メモ置き場&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>https://cdn-ak.f.st-hatena.com/images/fotolife/y/yuheiomori0718/20120815/20120815174827.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-08-15 00:07:16</published>
  <title>Pycharmのjavascriptエディタでthisがglobal objectを指している場合は警告がでる</title>
  <type>rich</type>
  <url>https://y0m0r.hateblo.jp/entry/20120815/1345043236</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
