From a073867f6015c91d7c3d640713ea02182d107016 Mon Sep 17 00:00:00 2001 From: Gary Yeung <5206130+garyeung@users.noreply.github.com> Date: Thu, 11 Dec 2025 21:37:23 +0800 Subject: [PATCH] fix(curriculum): eliminate '/ 1' from steps 12 to 18 of workshop-recipe-ingredient-converter (#64505) --- .../673539dddfa1affd12c80a18.md | 2 +- .../67353ab907569125112caffa.md | 2 +- .../67353fb237ffbd01af3be1cc.md | 2 +- .../673540f6e49ae33d6a235c20.md | 2 +- .../673542088e459b6def5d6e56.md | 2 +- .../6735424ecfeb557d81dcc9d1.md | 2 +- .../673543d867b44ac7580610a2.md | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/673539dddfa1affd12c80a18.md b/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/673539dddfa1affd12c80a18.md index 50b0790ea7a..e1c6019266d 100644 --- a/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/673539dddfa1affd12c80a18.md +++ b/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/673539dddfa1affd12c80a18.md @@ -182,7 +182,7 @@ const gramsResult = convertQuantity("cup")("gram")(2); console.log(gramsResult); const adjustForServings = (baseQuantity) => (newServings) => - (baseQuantity / 1) * newServings; + baseQuantity * newServings; --fcc-editable-region-- diff --git a/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/67353ab907569125112caffa.md b/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/67353ab907569125112caffa.md index 5dbfd389266..e3f9ec92a98 100644 --- a/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/67353ab907569125112caffa.md +++ b/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/67353ab907569125112caffa.md @@ -208,7 +208,7 @@ const gramsResult = convertQuantity("cup")("gram")(2); console.log(gramsResult); const adjustForServings = (baseQuantity) => (newServings) => - (baseQuantity / 1) * newServings; + baseQuantity * newServings; const servingsResult = adjustForServings(4)(6); console.log(servingsResult); diff --git a/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/67353fb237ffbd01af3be1cc.md b/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/67353fb237ffbd01af3be1cc.md index 4d432e095c7..383f0d490ab 100644 --- a/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/67353fb237ffbd01af3be1cc.md +++ b/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/67353fb237ffbd01af3be1cc.md @@ -234,7 +234,7 @@ const gramsResult = convertQuantity("cup")("gram")(2); console.log(gramsResult); const adjustForServings = (baseQuantity) => (newServings) => - (baseQuantity / 1) * newServings; + baseQuantity * newServings; const servingsResult = adjustForServings(4)(6); console.log(servingsResult); diff --git a/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/673540f6e49ae33d6a235c20.md b/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/673540f6e49ae33d6a235c20.md index 58b5cc772d6..aeeca54000c 100644 --- a/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/673540f6e49ae33d6a235c20.md +++ b/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/673540f6e49ae33d6a235c20.md @@ -206,7 +206,7 @@ const gramsResult = convertQuantity("cup")("gram")(2); console.log(gramsResult); const adjustForServings = (baseQuantity) => (newServings) => - (baseQuantity / 1) * newServings; + baseQuantity * newServings; const servingsResult = adjustForServings(4)(6); console.log(servingsResult); diff --git a/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/673542088e459b6def5d6e56.md b/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/673542088e459b6def5d6e56.md index 4094f64a669..8d36b6fdb48 100644 --- a/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/673542088e459b6def5d6e56.md +++ b/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/673542088e459b6def5d6e56.md @@ -179,7 +179,7 @@ const gramsResult = convertQuantity("cup")("gram")(2); console.log(gramsResult); const adjustForServings = (baseQuantity) => (newServings) => - (baseQuantity / 1) * newServings; + baseQuantity * newServings; const servingsResult = adjustForServings(4)(6); console.log(servingsResult); diff --git a/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/6735424ecfeb557d81dcc9d1.md b/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/6735424ecfeb557d81dcc9d1.md index 81cc687c8f6..f039153f9a2 100644 --- a/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/6735424ecfeb557d81dcc9d1.md +++ b/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/6735424ecfeb557d81dcc9d1.md @@ -179,7 +179,7 @@ const gramsResult = convertQuantity("cup")("gram")(2); console.log(gramsResult); const adjustForServings = (baseQuantity) => (newServings) => - (baseQuantity / 1) * newServings; + baseQuantity * newServings; const servingsResult = adjustForServings(4)(6); console.log(servingsResult); diff --git a/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/673543d867b44ac7580610a2.md b/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/673543d867b44ac7580610a2.md index 7903c326409..d12e44e70fc 100644 --- a/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/673543d867b44ac7580610a2.md +++ b/curriculum/challenges/english/blocks/workshop-recipe-ingredient-converter/673543d867b44ac7580610a2.md @@ -191,7 +191,7 @@ const gramsResult = convertQuantity("cup")("gram")(2); console.log(gramsResult); const adjustForServings = (baseQuantity) => (newServings) => - (baseQuantity / 1) * newServings; + baseQuantity * newServings; const servingsResult = adjustForServings(4)(6); console.log(servingsResult); @@ -374,7 +374,7 @@ const gramsResult = convertQuantity("cup")("gram")(2); console.log(gramsResult); const adjustForServings = (baseQuantity) => (newServings) => - (baseQuantity / 1) * newServings; + baseQuantity * newServings; const servingsResult = adjustForServings(4)(6); console.log(servingsResult);