JavaScriptfromMedium2 months agoTypeScript "object" doesn't make senseObjects in JavaScript differ from primitives; primitives can behave like objects via auto-boxing, while TypeScript uses structural typing to reflect shapes.