Skip to content

Commit acfbda7

Browse files
authored
Merge pull request mbeaudru#29 from errorsmith/fix/named-import-comment
Named imports do not destructure
2 parents df1289d + 18ad990 commit acfbda7

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 -- destructuring-like syntax
10401040
console.log(pi) // 3.14
10411041
console.log(exp) // 2.7
10421042

0 commit comments

Comments
 (0)