<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pa-asumi-kuriki</author_name>
  <author_url>https://blog.hatena.ne.jp/pa-asumi-kuriki/</author_url>
  <blog_title>PHONE APPLI Engineer blog</blog_title>
  <blog_url>https://phoneappli.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>こんにちは。株式会社PHONE APPLI ウェブデベロップチームのくりきです。 この記事は、使ってみて便利だと思ったJavaScriptでオブジェクトを比較するメソッドについて書いたものです。 JavaScriptでオブジェクトを比較するには、従来では等価演算子==や厳密等価演算子===を使うことが一般的でした。 また下記のようにJSON.stringfyを使う方法もありますが、コードが長くなることや、オブジェクトの中身の順番が入れ替わっただけで偽判定されるという理由で不便です。 そこで、Object.is()が活躍します。 使い方は非常にシンプルで、第一引数と第二引数が同じオブジェクトの場…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fphoneappli.hatenablog.com%2Fentry%2F2022%2F03%2F31%2F193022&quot; title=&quot;JavaScriptでオブジェクトの比較をするObject.is()が便利 - PHONE APPLI Engineer 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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-03-31 19:30:22</published>
  <title>JavaScriptでオブジェクトの比較をするObject.is()が便利</title>
  <type>rich</type>
  <url>https://phoneappli.hatenablog.com/entry/2022/03/31/193022</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
