<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>co-sche</author_name>
  <author_url>https://blog.hatena.ne.jp/co-sche/</author_url>
  <blog_title>外付Web海馬</blog_title>
  <blog_url>https://co-sche.hatenadiary.org/</blog_url>
  <categories>
    <anon>JavaScript</anon>
    <anon>配列</anon>
  </categories>
  <description>ある配列があって、それに循環的にアクセスする必要に迫られることはままあります。 この処理に関して、最近知った書き方があったのでメモメモ。 タイトルのような呼び方をするのかどうかは不明ですが…。 例えば、こう。 幹音だけの音名の配列、naturalToneがあります。 これに、 ・順番に ・1秒ごとに ・永遠に アクセスしたいとします。 ラシドレミファソラシドレミファソ…という具合です。 例としてはイマイチですが＞＜ ここでは、JavaScriptを使います。(Firebugにconsole.logします。) つい最近まで、自分は var naturalTone = ['A', 'B', 'C'…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fco-sche.hatenadiary.org%2Fentry%2F20080202%2F1201963428&quot; title=&quot;感嘆した話。 ―配列への循環アクセス― - 外付Web海馬&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>2008-02-02 23:43:48</published>
  <title>感嘆した話。 ―配列への循環アクセス―</title>
  <type>rich</type>
  <url>https://co-sche.hatenadiary.org/entry/20080202/1201963428</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
