Last active
December 26, 2021 06:15
-
-
Save nirmalkar/71025132ef0d549396977e9bbcb687a9 to your computer and use it in GitHub Desktop.
This file contains 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
//Below written code will produce array of 0 and first 3 positive integers. | |
const num = 3 | |
Array.from(Array(num).keys()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment