Skip to content

Instantly share code, notes, and snippets.

@PolyDevil
Created May 17, 2017 10:13
Show Gist options
  • Select an option

  • Save PolyDevil/8c731398dee86acb5f29f7f9aec88a44 to your computer and use it in GitHub Desktop.

Select an option

Save PolyDevil/8c731398dee86acb5f29f7f9aec88a44 to your computer and use it in GitHub Desktop.
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