The distance from the earth to the sun is 150 million kilometers. A person is driving to the sun at a speed of 60 kms/hr. Calculate the time in years required to reach the Sun by the person.
Note: It should be assumed 365 days per year.
Starting Answer
let distanceToSun = 150000000;
let drivingSpeed = 60;
let timeInYears = ;
console.log(timeInYears);