Skip to content

Commit 4759892

Browse files
committed
Named imports do not destructure
1 parent 47367af commit 4759892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ export const alpha = 0.35;
10361036
// -------------
10371037

10381038
// myFile.js
1039-
import { pi, exp } from './mathConstants.js'; // Destructuring import
1039+
import { pi, exp } from './mathConstants.js'; // Named import
10401040
console.log(pi) // 3.14
10411041
console.log(exp) // 2.7
10421042

0 commit comments

Comments
 (0)