<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mizdra</author_name>
  <author_url>https://blog.hatena.ne.jp/mizdra/</author_url>
  <blog_title>mizdra's blog</blog_title>
  <blog_url>https://www.mizdra.net/</blog_url>
  <categories>
    <anon>tips</anon>
    <anon>javascript</anon>
  </categories>
  <description>数列の和を求めるプログラムを作成することになり、意気揚々と以下のようなプログラムを書いたという状況を想像して下さい。 function sum(nums, acc = 0) { if (nums.length === 0) return 0; if (nums.length === 1) return nums[0]; return sum(nums.slice(1), acc + nums[0]); } const nums = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; console.log(sum(nums)); // expected: 55 一見すると何も問題…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mizdra.net%2Fentry%2F2021%2F05%2F03%2F000139&quot; title=&quot;JavaScript で print デバッグ時に変数名を出力する - mizdra&amp;#39;s blog&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/m/mizdra/20210503/20210503003124.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-05-03 00:01:39</published>
  <title>JavaScript で print デバッグ時に変数名を出力する</title>
  <type>rich</type>
  <url>https://www.mizdra.net/entry/2021/05/03/000139</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
