Aug 20, 2023
I sure wish this
let i = 1, Array(5).fill(i++)
would give me [1,2,3,4,5]
but it just gives me [1,1,1,1,1]
(afterword, i is 2)
I sure wish this
let i = 1, Array(5).fill(i++)
would give me [1,2,3,4,5]
but it just gives me [1,1,1,1,1]
(afterword, i is 2)
Nice to have a place where my writing can be ignored by millions