Hello guys When i deploy my code on Deno Deploy, I have this error in the logs and it says "ERROR: RangeError: Invalid time value at Date.toISOString ()". It happens because of this line in my code const start = performance.timeOrigin; //undefined
I've tried to use Date.now() instead of performance.timeOrigin, and it worked. *Btw performance.now() working as well.
Does someone know what is the possible solution? Deno on latest version.
It deployes successfully, but on Deno logs this error.
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
D
Deno
Chat about Deno, a modern runtime for JavaScript and TypeScript.