<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>athro</author_name>
  <author_url>https://blog.hatena.ne.jp/athro/</author_url>
  <blog_title>JavaScript（演習プロンプト）</blog_title>
  <blog_url>https://chds.hatenablog.com/</blog_url>
  <categories>
    <anon>★アロー関数</anon>
    <anon>★AI</anon>
  </categories>
  <description>【018】アロー関数を使った計算結果をコンソールに表示 プロンプト例 JavaScriptで関数を使った完全未経験者向けの問題を５問作成して アロー関数の事例 出力は、consoleに アロー関数を使うときのポイント 書き方の基本 基本形 const 関数名 = (引数) =&gt; { 処理 }; 関数名(); 例 const greet = () =&gt; { console.log(&quot;こんにちは&quot;); }; 👉 ポイント function は使わない =&gt; が最大の特徴（アロー = 矢印） 引数がない場合 const hello = () =&gt; { console.log(`Hello`); };…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchds.hatenablog.com%2Fentry%2F2026%2F02%2F27%2F%25E3%2580%2590018%25E3%2580%2591&quot; title=&quot;【018】アロー関数を使った計算結果をコンソールに表示 - 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>https://cdn-ak.f.st-hatena.com/images/fotolife/a/athro/20260227/20260227105634.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-01-18 10:09:13</published>
  <title>【018】アロー関数を使った計算結果をコンソールに表示</title>
  <type>rich</type>
  <url>https://chds.hatenablog.com/entry/2026/02/27/%E3%80%90018%E3%80%91</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
