<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kuronekopunk</author_name>
  <author_url>https://blog.hatena.ne.jp/kuronekopunk/</author_url>
  <blog_title>ノンカフェインであなたにやさしい</blog_title>
  <blog_url>https://akinobu.net/</blog_url>
  <categories>
    <anon>javascript</anon>
  </categories>
  <description>JavaScriptの連想配列にキーが存在するか確認する方法です。 inはこのような使い方してはいけないとのご指摘を頂き修正しました。 var hash = { a: 1, b: 2 }; // inを使った悪い例 console.log('a' in hash); //true console.log('c' in hash); //false // hasOwnPropertyを使った例 console.log(hash.hasOwnProperty('a')); //true console.log(hash.hasOwnProperty('c')); //false</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakinobu.net%2Fentry%2F2014%2F11%2F28%2F204504&quot; title=&quot;JavaScriptの連想配列にキーが存在するか確認する - ノンカフェインであなたにやさしい&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>2014-11-28 20:45:04</published>
  <title>JavaScriptの連想配列にキーが存在するか確認する</title>
  <type>rich</type>
  <url>https://akinobu.net/entry/2014/11/28/204504</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
