<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kimizuka</author_name>
  <author_url>https://blog.hatena.ne.jp/kimizuka/</author_url>
  <blog_title>みかづきブログ・カスタム</blog_title>
  <blog_url>https://blog.kimizuka.org/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>typescript-jp.gitbook.ioTypeScriptのenumはJavaScript変換時にオブジェクトに変換されます。 なので、forEachを使って要素を列挙したい場合は、Object.entriesを使えばOKです。developer.mozilla.orgただし、数値列挙型と文字列列挙型のenumで変換されるオブジェクトの要素数が異なってくるので注意が必要です。 数値列挙型の場合 enum Eto { '🐭' = 0, '🐮' = 1, '🐯' = 2, '🐰' = 3, '🐲' = 4, '🐍' = 5, '🐴' = 6, '🐏' = 7, '🐵' = 8, '🐔' …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kimizuka.org%2Fentry%2F2023%2F12%2F27%2F132829&quot; title=&quot;TypeScriptのenumをループで列挙する 0️⃣ - みかづきブログ・カスタム&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>https://cdn-ak.f.st-hatena.com/images/fotolife/k/kimizuka/20231227/20231227123600.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-12-27 13:28:29</published>
  <title>TypeScriptのenumをループで列挙する 0️⃣</title>
  <type>rich</type>
  <url>https://blog.kimizuka.org/entry/2023/12/27/132829</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
