From 048c399044cdb87f5dcf827affdc889e5c643c52 Mon Sep 17 00:00:00 2001 From: Yuri Semenenko Date: Mon, 3 Feb 2025 11:09:27 +0100 Subject: [PATCH] Update highest-scoring-word-run.js Fixing the test case to meet input string restrictions from readme --- .../04-highest-scoring-word/highest-scoring-word-run.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/03-high-order-array-methods/04-highest-scoring-word/highest-scoring-word-run.js b/03-high-order-array-methods/04-highest-scoring-word/highest-scoring-word-run.js index ed34c21a..4996dd61 100644 --- a/03-high-order-array-methods/04-highest-scoring-word/highest-scoring-word-run.js +++ b/03-high-order-array-methods/04-highest-scoring-word/highest-scoring-word-run.js @@ -1,5 +1,5 @@ const highestScoringWord = require('./highest-scoring-word'); -const result = highestScoringWord('Hello my name is xavier'); +const result = highestScoringWord('hello my name is xavier'); console.log(result);