約107件1ページ目

日本語のみで絞り込む

2026/11/17 -After the export keyword, you can use let , const , and var declarations, as well as function or class declarations. You can also use the export ...

2017/5/12 -export const ConnectedRange = connectRange(Range); exports.ConnectedRange = connectRange(Range);. I've seen the latter used in some npm packages ...

2023/1/22 -1: Put the export right after the variable declaration. · 2: Put all the exports at the top. · 3: Put the export statement just before the ...

2025/3/30 -Named Exports ( export const , export function , etc.) Named exports let you export multiple things from the same file. You must import them ...

2023/1/18 -Export before declarations. We can label any declaration as exported by placing export before it, be it a variable, function or a class. For ...

2025/7/19 -Learn how to export and import multiple constants in JavaScript using named and default exports. See practical examples and best practices.

2024/9/10 -The rule clearly states that an exported "const" variable should be capitalized and a "const" variable within a file need NOT be capitalized.

In JavaScript modules you can export a const as a named export with `export const MyConst =...`, or you can export it as the default with `export default MyConst ...

A module uses the export keyword to share values with other files. A module can have many named exports. A module can (optionally) have one default export.

2025/9/29 -In this post, we'll explore the different approaches to managing constants in JavaScript ... ts export const API_URL = "https://example.com/api"; ...