https://ducin.dev, #typescript playground: https://tsplay.dev/wX05Lw
There are 3 built-in TypeScript types representing objects... Couldn't be more confusing. Learn all important differences between them.
00:52 expected incompatibility between objects and primitives
01:27 methods on all objects
02:02 runtime auto-boxing
03:29 trying null and undefined against object types
04:10 the object type (lowercase)
05:12 Object (uppercase) vs curly braces