<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>+演算子の挙動について。 オペランドの値が両方とも同じ型 文字列同士なら連結、数値同士なら加算演算する。 オペランドの値の型が違う 文字列の連結が優先的に行われる 両方のオペランドが文字列でないときは、加算演算を行う DateオブジェクトはtoString、その他のオブジェクトはvalueOfで型変換を行う。しかし、多くのオブジェクトは意味のあるvalueOfメソッドを持たないのでtoStringメソッドを使って型変換を行う オブジェクトから基本型への型変換のあと、オペランドの一方が文字列の場合、もう一方のオペランドも文字列に変換し連結を行う それ以外は両方のオペランドを数値に変換し加算処理を…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F2014%2F12%2F28%2F%252B%25E6%25BC%2594%25E7%25AE%2597%25E5%25AD%2590%25E3%2581%25AE%25E8%25A9%25B1&quot; title=&quot;+演算子の話 - by shigemk2&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>http://cdn-ak.f.st-hatena.com/images/fotolife/s/shigemk2/20141228/20141228232507.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-12-28 23:37:26</published>
  <title>+演算子の話</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/2014/12/28/%2B%E6%BC%94%E7%AE%97%E5%AD%90%E3%81%AE%E8%A9%B1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
