- Published on
Write a function cakes(), which takes the recipe (object) and the available ingredients (also an object) and returns the maximum number of cakes Pete can bake (integer).
Explore articles on JavaScript, web development, tutorials, and coding challenges.