<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>s_hiiragi</author_name>
  <author_url>https://blog.hatena.ne.jp/s_hiiragi/</author_url>
  <blog_title>s_hiiragiの活動メモ</blog_title>
  <blog_url>https://s-hiiragi.hatenadiary.org/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>Array#searchとかあっても良さそうだけど、用意されていないようなので適当に定義。 /** * 配列から要素を検索 * @param a0 検索する要素またはテスト関数 * @return number 要素の添字。見つからない場合は-1 */ Array.prototype.search = function(a0) { if( a0 instanceof Function ){ for( var i=0, l=this.length; i &lt; l; i++ ) if( a0(this[i]) ) return i; }else{ for( var i=0, l=this.lengt…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fs-hiiragi.hatenadiary.org%2Fentry%2F20101119%2F1290165269&quot; title=&quot;配列の要素を検索 - s_hiiragiの活動メモ&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>2010-11-19 20:14:29</published>
  <title>配列の要素を検索</title>
  <type>rich</type>
  <url>https://s-hiiragi.hatenadiary.org/entry/20101119/1290165269</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
