Created
September 24, 2022 22:29
-
-
Save sergeylukin/3972702a8f1b580d07d81a348fb26993 to your computer and use it in GitHub Desktop.
alternative for for (let i =0; i < len; i++ ) { ... }
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 len = 20 | |
const users = Array.apply(null, Array(len)).map(() => { | |
doSomething() | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment