{{< emgithub permalink="https://github.com/yusanshi/embed-like-gist/blob/master/embed.js" showFileMeta="off" showLineNumbers="off">}}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const wait = (milliSeconds) => { | |
| return new Promise((resolve) => setTimeout(() => resolve(), milliSeconds)); | |
| }; | |
| wait(200).then(() => { | |
| // your code | |
| }); | |
| // async/await context | |
| await wait(200); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From the source repository: | |
| ```sh | |
| git clone <src_repository> <src_repository>_clone | |
| # clone the src repository in new folder | |
| ``` | |
| ```sh | |
| cd <src_repository>_clone | |
| ``` |
NewerOlder