From d1c2c4c08208f44fb1a4a906a72b41dfd186a576 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Tue, 9 Jul 2019 04:03:58 +0300 Subject: [PATCH] minor --- 1-js/13-modules/03-modules-dynamic-imports/article.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/1-js/13-modules/03-modules-dynamic-imports/article.md b/1-js/13-modules/03-modules-dynamic-imports/article.md index a43548d0..3bc99c79 100644 --- a/1-js/13-modules/03-modules-dynamic-imports/article.md +++ b/1-js/13-modules/03-modules-dynamic-imports/article.md @@ -94,3 +94,9 @@ Here's the full example: So, dynamic imports are very simple to use, and they allow to import modules at run-time. Also, dynamic imports work in regular scripts, they don't require `script type="module"`. + +```smart +Although `import()` looks like a function call, it's a special syntax that just happens to use parentheses (similar to `super()`). + +That means that import doesn't inherit from `Function.prototype` so we cannot call or apply it. +```