<<<<<<< HEAD Code Wars - Brett Crafton

Beginner - Reduce but Grow

Question

Given a non-empty array of integers, return the result of multiplying the values together in order.

[1, 2, 3, 4] => 1 * 2 * 3 * 4 = 24

Solution by -

My Solution


	const zeroFuel = (distanceToPump, mpg, fuelLeft) => {
		return distanceToPump <= mpg *fuelLeft
		};
				

Try it yourself - CodeWars

======= Code Wars - Brett Crafton

Beginner - Reduce but Grow

Question

Given a non-empty array of integers, return the result of multiplying the values together in order.

[1, 2, 3, 4] => 1 * 2 * 3 * 4 = 24

Solution by -

My Solution


	const zeroFuel = (distanceToPump, mpg, fuelLeft) => {
		return distanceToPump <= mpg *fuelLeft
		};
				

Try it yourself - CodeWars

>>>>>>> 0e614172debaa009c8d31330edbeb3b765b59c39