テクノロジー

How to Use ECMAScript Modules in Node.js

How to Use ECMAScript Modules in Node.js

How to Use ECMAScript Modules in Node.js

The ECMAScript modules (in short ES modules) is a JavaScript modules format that uses import and export statements: // An ECMAScript module // import statement import myFunc from './my-func'; // export statement export myOtherFunc(param) { const result = myFunc(param); // .... return otherResult;...

はてなブックマーク - How to Use ECMAScript Modules in Node.js はてなブックマークに追加

-テクノロジー

© 2021 GAJET CLUB Powered by AFFINGER5