Challenge: Extension Properties

Practice writing an extension property for List with this challenge.

We'll cover the following

Problem Statement

You have a guest list ['Aman', 'Amit']. Each guest can invite one additional person along with them. Implement an extension property maxGuests on List to calculate the maximum number of guests.

Get hands-on with 1200+ tech skills courses.