- cross-posted to:
- programmer_humor@programming.dev
- programming@programming.dev
- cross-posted to:
- programmer_humor@programming.dev
- programming@programming.dev
cross-posted from: https://programming.dev/post/33754840
new Date(“wtf”)
cross-posted from: https://programming.dev/post/33754840
new Date(“wtf”)
Because this is a simplified example? Maybe you create the object in one place (saying something more realistic like “2015” or whatever your inexperience or AI told you to) and use getTime() at a later place where you thought you created it in a correct way.
User input is probably the big one where this API is gonna get stress-tested…