Lasagna Master. Last task is not passing

Hi everyone. I’m trying to pass last task and it isn’t working. Could you help me?

This is code:

export function scaleRecipe(recipe, numberPortions) {
  var newRecipe = recipe;

  for (let item in newRecipe) {
    newRecipe[item] *= numberPortions / 2;
  }

  return newRecipe;
}

What am I missing?

What’s the tests say?

One of the tests is does not modify the original recipe, so var newRecipe = recipe; is wrong.