Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let total = 0
- let max = 137761
- let current = 1000
- let bets = []
- while(total < max) {
- total += current
- bets.push(current)
- current *= 2
- }
- bets.pop()
- console.log(bets)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement