Task 1
Create a list object that has an array property called items and add()
and remove()
methods. For example, list.add('Apples')
should add Apples to the list.items
array, and list.remove('Apples')
should remove it.
Get hands-on with 1400+ tech skills courses.