Vehicle Class with Getters and Setters

Build a Vehicle class that stores a speed in km/h. Add a getter speedMph that returns the speed converted to miles per hour using speed * 0.621371. Add a setter speedMph that takes a value in mph and updates the underlying speed in km/h using value / 0.621371.
JavaScript
Console