Write a function that returns the length of the vacationSpots
array using a for loop.
NOTE: Dont use the .length property
function lengthOfVacationSpots(vacationSpots){
// write your code here
}
let vacationSpots = ['Bali', 'Phuket', 'Goa', 'Kochi', 'Sydney', 'Barcelona', 'Las Vegas'];
lengthOfVacationSpots(vacationSpots);//7