This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Use extends to restrict type parameters to specific primitive types like string or number.
You've completed the free preview. Subscribe to unlock every lesson in every course.