Skip to content

Commit d1c2c4c

Browse files
committed
minor
1 parent 31f80ee commit d1c2c4c

File tree

1 file changed

+6
-0
lines changed
  • 1-js/13-modules/03-modules-dynamic-imports

1 file changed

+6
-0
lines changed

1-js/13-modules/03-modules-dynamic-imports/article.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,9 @@ Here's the full example:
9494
So, dynamic imports are very simple to use, and they allow to import modules at run-time.
9595
9696
Also, dynamic imports work in regular scripts, they don't require `script type="module"`.
97+
98+
```smart
99+
Although `import()` looks like a function call, it's a special syntax that just happens to use parentheses (similar to `super()`).
100+
101+
That means that import doesn't inherit from `Function.prototype` so we cannot call or apply it.
102+
```

0 commit comments

Comments
 (0)