<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>T-Kaneniwa</author_name>
  <author_url>https://blog.hatena.ne.jp/T-Kaneniwa/</author_url>
  <blog_title>iimon TECH BLOG</blog_title>
  <blog_url>https://tech.iimon.co.jp/</blog_url>
  <categories>
  </categories>
  <description>前提知識としてのスコープ グローバルスコープ 関数スコープ ブロックスコープ レキシカルスコープ（字句スコープ） スコープチェーン クロージャ クロージャの実例 プライベート変数の定義 関数ファクトリーとしての使い方 注意点 まとめ 参考文献・記事 クロージャについて、その名称は知っているものの具体的な仕組みについてはよく分かっていなかったので、この機会に調べてみました。 前提知識としてのスコープ クロージャを理解するにあたっての前提知識として、基本ではありますが重要な概念であるスコープについて軽く触れていきます。 スコープとは、実行中のコードから参照できる変数や関数の範囲のことです。スコープ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.iimon.co.jp%2Fentry%2F2026%2F06%2F23%2F171105&quot; title=&quot;【JavaScript】クロージャとは何か - iimon TECH BLOG&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/T/T-Kaneniwa/20260622/20260622201152.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-06-23 17:11:05</published>
  <title>【JavaScript】クロージャとは何か</title>
  <type>rich</type>
  <url>https://tech.iimon.co.jp/entry/2026/06/23/171105</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
