<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ryonnsui1201</author_name>
  <author_url>https://blog.hatena.ne.jp/ryonnsui1201/</author_url>
  <blog_title>テクメモ</blog_title>
  <blog_url>https://onnsui.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>知ってる人からしたら、なにをいまさらという感じかもしれませんが Object.assignの挙動に関して勘違いしていたことがあり、業務中にハマったので備忘録程度に書きます。 勘違い1：Object.assignの返り値 Object.assignの返り値について勘違いしていました。 引数で渡したオブジェクトを合成した新しいオブジェクトを返す のではなく 第2引数以降に渡したオブジェクトを、第1引数に渡したオブジェクトに合成して返す ものでした。 MDNにも Object.assign() メソッドは、すべての列挙可能なプロパティの値を、1つ以上のコピー元オブジェクトからコピー先オブジェクトにコ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fonnsui.hatenablog.jp%2Fentry%2F2020%2F08%2F02%2F185536&quot; title=&quot;Object.assignの挙動で勘違いしていたこと - テクメモ&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>2020-08-02 18:55:36</published>
  <title>Object.assignの挙動で勘違いしていたこと</title>
  <type>rich</type>
  <url>https://onnsui.hatenablog.jp/entry/2020/08/02/185536</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
