Skip to content

Commit

Permalink
ES6 Modules: Clarified string declaration in import statements (#28051)
Browse files Browse the repository at this point in the history
* clarified string declaration in import statements

* changed wording

* grammar correct, quotes not quote
  • Loading branch information
aceus0 authored May 25, 2024
1 parent 24366b8 commit e41f515
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions javascript/organizing_your_javascript_code/es6_modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export { functionOne };

```javascript
// another JS file
// Note: You can only use single quotes (') or double quotes (") for import statements
import { functionOne } from './functionOne';

functionOne(); // this should work as expected!
Expand Down

0 comments on commit e41f515

Please sign in to comment.