Last active
December 11, 2022 08:17
-
-
Save Przemocny/42914fab1f0edf9e3dcb3b5cfa845ccc 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
const HOW_MANY_YEARS = 5 | |
const HOW_MANY_DAYS_IN_YEAR = 365 | |
let yourSkills = 1 | |
for(const day in [...new Array(HOW_MANY_YEARS * HOW_MANY_DAYS_IN_YEAR)]){ | |
yourSkills = 1.01 * yourSkills | |
} | |
console.log(`yourSkills from 1 after ${HOW_MANY_YEARS} years in on ${yourSkills} lvl`) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment