mirror of
https://github.com/alrayyes/wiki.git
synced 2024-12-01 15:26:23 +00:00
15 lines
223 B
Markdown
15 lines
223 B
Markdown
|
---
|
||
|
id: c6de9c5c-2b33-4550-a679-8c32075d2c24
|
||
|
title: Dynamic Import
|
||
|
---
|
||
|
|
||
|
# Description
|
||
|
|
||
|
Modules can be imported dynamically on-demand anywhere in the code
|
||
|
|
||
|
# Syntax
|
||
|
|
||
|
``` javascript
|
||
|
const module = await import('module');
|
||
|
```
|