Ad
  • Custom User Avatar

    Your solution fails this example test:

    assert.strictEqual(cookingTime("7500W", 0, 5, "600W"), "1 minutes 3 seconds");

    Your solution returns 1'2", while correct answer is 1'3". In one place you handle rounding incorrectly, try to figure out where.