Create a function, which removes all fields except \'firstName\' and \'lastName\' from the objects.
This is the code I\'ve written. Any recommendations?<