約151,000件1ページ目

日本語のみで絞り込む

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

  • 最終更新日:1年以内
  • 5日前 -The export declaration is used to export values from a JavaScript module. Exported values can then be imported into other programs with the import ...

    2026/10/19 -exports and exports both serve the same purpose of exporting values from a module. exports is essentially a reference to module.exports , so you can use either.

    2026/4/17 -2. Exporting Functions or Values ... Exporting is how you make something available to other files. ... Key points: export makes the item public. You can mix named ...

    2026/1/22 -Every Node.js file has access to a module object. The module.exports property determines what the file exports when other files require() ...

    2026/3/1 -A file can have one default export. Default exports are typically used when a file represents one main thing (like a component or a main function).

    5日前 -module.exports is the value a CommonJS file hands to whoever calls require() on it. exports is a shortcut that points to the same object, until you reassign ...

    A.こちらはnode.jsなので https://mindcat.hatenadiary.org/entry/20110821/1313946427 こちらのやり方はどうでしょうか?

    A.defaultでエクスポートしたモジュールは 他のファイルにインポートする際任意の名前でインポートできます。 モジュールファイルの中から 特定のモジュールをインポートしたい場合は expor...

    2026/2/18 -I am currently learning about modules and putting the export keyword at every variable that you want to export and importing them one by one sounds inconvenient ...

    2026/1/17 -An export statement in JavaScript lets you share code from one file so other files can import and use it. You use exports to build reusable modules instead of ...

    2026/10/11 -Learn CommonJS: require(), module.exports, exports shortcut, and a small interop taste with ESM. A free interactive JavaScript Academy lesson with hands-o…

    ... JavaScript. In this video, we cover: ✓ Creating your first custom module. ✓ CommonJS (module.exports). ✓ How to export multiple functions and objects ...

    YouTubeCode Bless You