The function updatedEmployeeDetails
takes an object with the
employee's details as input. The function should return an
updated version of these details with the following modifications,
- Add a new age property, calculated based on the yearOfBirth property.
- Increment the experience property by 1.
- If the experience property is initially absent, add it with a starting value of 1.
For example: