Skip to content

Commit 5315ba5

Browse files
committed
docs: minor grammar fix and link update
1 parent 71da17e commit 5315ba5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1-js/13-modules/02-import-export/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ At first sight, "import everything" seems such a cool thing, short to write, why
9393

9494
Well, there are few reasons.
9595

96-
1. Modern build tools ([webpack](http://webpack.github.io) and others) bundle modules together and optimize them to speedup loading and remove unused stuff.
96+
1. Modern build tools ([webpack](https://webpack.js.org/) and others) bundle modules together and optimize them to speedup loading and remove unused stuff.
9797

9898
Let's say, we added a 3rd-party library `say.js` to our project with many functions:
9999
```js
@@ -403,7 +403,7 @@ We can come across two problems with it:
403403

404404
2. `export * from './user.js'` re-exports only named exports, but ignores the default one.
405405

406-
If we'd like to re-export both named and the default export, then two statements are needed:
406+
If we'd like to re-export both named and default exports, then two statements are needed:
407407
```js
408408
export * from './user.js'; // to re-export named exports
409409
export {default} from './user.js'; // to re-export the default export

0 commit comments

Comments
 (0)