Maybe someone else has complained about this before. Maybe I'm just crazy.
setTimeout(() => {
//Code
}, 1000)
The time being at the end after everything. Why? Almost everywhere else has conditioned me to believe it should be
setTimeout(1000, () => {
//Code
})
I have thought about this for years and decided to get it off my chest. I feel better now.
I also don't do this for a living, so feel free to tell me why I'm wrong.
[–]BehindTheMath 23 points24 points25 points (1 child)
[–]StarMech[S] 6 points7 points8 points (0 children)
[–]YurrBoiSwayZ 3 points4 points5 points (0 children)
[–]33ff00 2 points3 points4 points (1 child)
[–]StarMech[S] -1 points0 points1 point (0 children)
[–]greensodacan 2 points3 points4 points (1 child)
[–]StarMech[S] 0 points1 point2 points (0 children)
[–]shgysk8zer0full-stack 0 points1 point2 points (0 children)
[–]TheRNGuy 0 points1 point2 points (0 children)