Pregunta:
How would you change the code below to make chargeVoltage an optional property? function printCar(car: { make: string model: string year: number chargeVoltage: number })
Autor: John PencolaRespuesta:
Add the optional operator (?) ie: chargeVoltage?: number
0 / 5 (0 calificaciones)
1 answer(s) in total