<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>suzaku0914</author_name>
  <author_url>https://blog.hatena.ne.jp/suzaku0914/</author_url>
  <blog_title>エンターテイメント！！</blog_title>
  <blog_url>https://suzaku-tec.hatenadiary.jp/</blog_url>
  <categories>
    <anon>JavaScript</anon>
    <anon>プログラミング</anon>
    <anon>恥晒し</anon>
    <anon>学習</anon>
  </categories>
  <description>背景 Javascriptでコードを読んでいる際に、var a = test ?? &quot;empty&quot;みたいなコードに出会った。 三項演算子でもないし、一体何なんだ？ってのが疑問になったので調べた。 調査結果 Null合体演算子 というものらしい。 左辺が null または undefined の場合、右辺が変えるとのこと。 実験 nullの場合 const foo = null ?? 'default string'; console.log(foo); // expected output: &quot;default string&quot; 問題なし undefinedの場合 const foo = unde…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsuzaku-tec.hatenadiary.jp%2Fentry%2F2021%2F06%2F26%2F142639&quot; title=&quot;Javascriptの構文に出てくる「??」って何？ - エンターテイメント！！&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>2021-06-26 14:26:39</published>
  <title>Javascriptの構文に出てくる「??」って何？</title>
  <type>rich</type>
  <url>https://suzaku-tec.hatenadiary.jp/entry/2021/06/26/142639</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
