Two ways you can take advantage of types in JavaScript (without TypeScript) | Dark Hacker News