brett
04/05/2021, 9:52 PMjed
04/05/2021, 10:08 PMnew Date
to throw in global scope instead of silently returning unanticipated values.Greg Brimble | Cloudflare Pages
04/05/2021, 10:09 PMGreg Brimble | Cloudflare Pages
04/05/2021, 10:09 PMKevin W - Itty
04/05/2021, 10:45 PMjohn.spurlock
04/05/2021, 10:46 PMbrett
04/05/2021, 10:47 PMnew Date(1995, 11, 17, 3, 24, 0)
), and you can always check for undefined and set a global var with a date on the first request if you want to store a new Date
in global scopeKevin W - Itty
04/05/2021, 10:48 PMKevin W - Itty
04/05/2021, 10:51 PMjed
04/05/2021, 11:17 PMjed
04/05/2021, 11:18 PMGreg Brimble | Cloudflare Pages
04/05/2021, 11:34 PMGreg Brimble | Cloudflare Pages
04/05/2021, 11:37 PMhaneefmubarak
04/05/2021, 11:41 PMnew Date()
or Date.now()
to throw...jed
04/06/2021, 12:15 AMGreg Brimble | Cloudflare Pages
04/06/2021, 12:16 AMjed
04/06/2021, 12:16 AMKevin W - Itty
04/06/2021, 12:28 AMKevin W - Itty
04/06/2021, 12:29 AMjed
04/06/2021, 12:30 AMnew Function
throw or return an empty function?), but consolidating the areas where workers stray from standard behavior is definitely a good idea.Unsmart | Tech debt
04/06/2021, 12:53 AMmatt
04/06/2021, 2:28 AMKevin W - Itty
04/06/2021, 2:29 AMKevin W - Itty
04/06/2021, 2:29 AMKevin W - Itty
04/06/2021, 2:31 AMmatt
04/06/2021, 2:33 AMKevin W - Itty
04/06/2021, 2:35 AMmatt
04/06/2021, 2:38 AMKevin W - Itty
04/06/2021, 2:47 AMUnsmart | Tech debt
04/06/2021, 3:10 AM