While this code would execute in JavaScript, this code won't even compile in TypeScript because my FirstName function is expecting to be passed a Customer parameter.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results