約55,200件1ページ目

条件を指定して検索しています。すべての条件を解除する

  • 対象とする言語:日本語
  • 2026/4/8 -名前付きエクスポートはモジュールごとに複数持てますが、デフォルトエクスポートは 1 つのみです。それぞれのエクスポート方法は、上記の構文のひとつに ...

    2020/2/9 -モジュール化を行うexportには、モジュールごとに複数のexportを行うnamed exportsとモジュールごとに1つのexportを行うdefault exportsがある。

    2026/10/20 -export default は、モジュールから1つの要素をデフォルトとしてエクスポートする方法です。 export default function sayMessage(message) { alert( ...

    2020/4/29 -When there is only one variable, function, or class being exported, you can specify it as the default using "export default". export default ...

    4日前 -ESモジュールはCommonJSのファイルを import できます。その module.exports はデフォルトインポートとして届きます。Node.js 22.12以降は、トップレベル ...

    2026/10/15 -In Jest, presets are pre-defined configurations that help streamline and standardize the process of setting up testing environments.

    json, and export default jsTokens in the JavaScript code (instead of module.exports = jsTokens ). If you were already using ESM, this probably won't make ...

    2022/10/24 -The ReferenceError may be obfuscated by another error. For example, if the invalid pattern is used inside an ES6 JavaScript module, the customer ...

    module.exports に対応するものです。 module.exports と異なりひとつのファイルはひとつの export default しか許されていなく複数書くと動作しません。

    2022/10/30 -モジュールは、特別な export default (“デフォルトエクスポート”) 構文を提供し、“モジュール毎に 1 つのもの” のように見栄えを良くします。