What will the following code log?
class Vehicle {
static start() {
console.log("Starting vehicle...");
}
}
Vehicle.start();
Starting vehicle...
Error
Undefined
Starting
This question is part of this quiz :
OOP in JavaScript