Created
May 17, 2017 10:13
-
-
Save PolyDevil/8c731398dee86acb5f29f7f9aec88a44 to your computer and use it in GitHub Desktop.
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
| new Array(100) | |
| .fill(0) | |
| .map((e, i) => i + 1) | |
| .map(e => e % 3 === 0 ? (e % 5 === 0 ? 'MissKiss' : 'Miss') : e % 5 === 0 ? 'Kiss' : e) | |
| .map((e, i) => setTimeout(() => console.log(e), i * 50)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment