<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yucatio</author_name>
  <author_url>https://blog.hatena.ne.jp/yucatio/</author_url>
  <blog_title>yucatio@システムエンジニア</blog_title>
  <blog_url>https://yucatio.hatenablog.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>JavaScriptで配列を指定された個数ずつに分割します。 例えば、 [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] という配列を3個ずつ分割するのであれば、 [[1, 2, 3], [4, 5, 6], [7, 8, 9], [10]] という配列になります。 実装方針 配列から一部を通り出すのには、 Array.prototype.slice() - JavaScript | MDN という関数が使えます。 この関数は、開始のインデックスと終わりのインデックスを渡すと、開始のインデックスから終わりのインデックスの1つ前までの部分の配列を返します。 pythonのmylis…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyucatio.hatenablog.com%2Fentry%2F2019%2F12%2F10%2F222311&quot; title=&quot;JavaScriptでn個ずつ配列を分割する - yucatio@システムエンジニア&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>2019-12-10 22:23:11</published>
  <title>JavaScriptでn個ずつ配列を分割する</title>
  <type>rich</type>
  <url>https://yucatio.hatenablog.com/entry/2019/12/10/222311</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
