<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dk521123</author_name>
  <author_url>https://blog.hatena.ne.jp/dk521123/</author_url>
  <blog_title>プログラム の超個人的なメモ</blog_title>
  <blog_url>https://dk521123.hatenablog.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
    <anon>TypeScript</anon>
  </categories>
  <description>■ はじめに 三項演算子 を使ったので軽くメモ。 ついでに、if文、switch文ものっけとく。 基本、C や Java と変わらん。 目次 【０】実行環境 【１】if文 【２】switch文 【３】三項演算子 補足：Null 合体演算子 (nullish Coalescing) '??' 【０】実行環境 * ブラウザで実行できる https://www.typescriptlang.org/play 【１】if文 サンプル age = 23 if (age &lt; 20) { console(&quot;You can not drink...&quot;) } else if (age &gt;= 90) { cons…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdk521123.hatenablog.com%2Fentry%2F2022%2F03%2F12%2F000000&quot; title=&quot;【JS】【TS】条件分岐 - プログラム の超個人的なメモ&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-12 00:00:00</published>
  <title>【JS】【TS】条件分岐</title>
  <type>rich</type>
  <url>https://dk521123.hatenablog.com/entry/2022/03/12/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
