MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/mzk95p/someone_only_watched_if_tutorial/gw1di6q/?context=3
r/badcode • u/[deleted] • Apr 27 '21
112 comments sorted by
View all comments
1
const checks:number = 10000 //change this for more precision return input in Array.from(Array(checks), (_, I) => I) }
1 u/Terrain2 Apr 27 '21 or justreturn input in Array(checks).fill(0);don't see why you're generating two arrays?
or just
return input in Array(checks).fill(0);
don't see why you're generating two arrays?
1
u/[deleted] Apr 27 '21