aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/ja/web/javascript/reference/statements/import/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ja/web/javascript/reference/statements/import/index.html b/files/ja/web/javascript/reference/statements/import/index.html
index c45679f56c..3a1d28e495 100644
--- a/files/ja/web/javascript/reference/statements/import/index.html
+++ b/files/ja/web/javascript/reference/statements/import/index.html
@@ -107,7 +107,7 @@ var promise = import("<em>module-name</em>");
  }
})();</pre>
-<p>If your project uses packages that export ESM, you can also import them for side effects only. This will run the code in the package entry point file (and any files it imports) only. </p>
+<p>プロジェクトで ESM をエクスポートするパッケージを使用している場合は、副作用のためだけにインポートすることもできます。これにより、パッケージエントリーポイントファイル(およびインポートするすべてのファイル)のコードのみが実行されます。</p>
<h3 id="Importing_defaults" name="Importing_defaults">デフォルトをインポートする</h3>