From 1d262f43450bdd44c33d90af757536de28d18883 Mon Sep 17 00:00:00 2001 From: stefanoa Date: Thu, 10 May 2018 11:52:00 +0200 Subject: [PATCH] Update index.js It only prints the last two match --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index f277971..00b8ec3 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,5 @@ const app = require('./scripts/app'); -const strings = ['dog', 'god', 'love', 'hair']; +const strings = ['dog', 'god', 'hiar','love','good', 'hair','hria']; -console.log(app.manipulateStrings(strings)); \ No newline at end of file +console.log(app.manipulateStrings(strings));