Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 4
Why? You have to fix the constructor.
function Flight(flightNumber, status) {
//fix the constructor
this.number = flightNumber;
this.status = flighStatus;
};
0
The read function is already build in in SoloLearn. That are first two lines with readLine.
0
did you ever figure it out?