<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lef237</author_name>
  <author_url>https://blog.hatena.ne.jp/lef237/</author_url>
  <blog_title>LEFログ</blog_title>
  <blog_url>https://lef237.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>アルファベットの途中から途中までを出力したいとき JavaScriptの場合 // アルファベットのcからqまでを出力する for (let i = 'c'.charCodeAt(0); i &lt;= 'q'.charCodeAt(0); i++) { console.log(String.fromCharCode(i)); } これはcharCodeAt()メソッドを使って、その位置から範囲を絞っています。 String.prototype.charCodeAt() - JavaScript | MDN TypeScriptで関数定義したいときはこんな感じ。 function getAlphab…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flef237.hatenablog.com%2Fentry%2F2023%2F07%2F21%2F133934&quot; title=&quot;アルファベットの途中から途中までを出力したいとき：JavaScriptのcharCodeAt()メソッド、RubyのRange関数、Goのルーン型、Rustのスカラー値 - LEFログ&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>2023-07-21 13:39:34</published>
  <title>アルファベットの途中から途中までを出力したいとき：JavaScriptのcharCodeAt()メソッド、RubyのRange関数、Goのルーン型、Rustのスカラー値</title>
  <type>rich</type>
  <url>https://lef237.hatenablog.com/entry/2023/07/21/133934</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
