JPJan Prazakinabcode.hashnode.dev·Jun 30, 2022 · 2 min readTypeScript program to get all separate digits of a numberDo you need to "extract" each digit of a given number? Then this little TypeScript program is probably exactly what you're looking for. I have inserted some important comments about the "safe" input range, so make sure you are aware of it before usin...00
JPJan Prazakinabcode.hashnode.dev·Feb 17, 2022 · 1 min readrandomUUID in TypeScriptAs of today (Feb 2022) TypeScript type definition files lack Crypto API's randomUUID method. I came up with this short solution which doesn't require modifying the typedef files. It is a simple workaround which exports the randomUUID method as gener...00