Exercise #104: Create New Set
TypeScript Generics ยท 02-passing-type-arguments
Go back to exercises
Open in TypeScript Playground
Goal
Goal: Make `createSet` generic so callers can specify the set element type.
Check Solution
Run "Check Solution" to validate your code in the browser.