From e7fd2c36718a902bb171034b6861b6751d666104 Mon Sep 17 00:00:00 2001 From: KhotKeys Date: Sat, 8 Aug 2026 01:18:31 +0100 Subject: [PATCH] implement createLookup function and tests --- Sprint-2/implement/lookup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sprint-2/implement/lookup.js b/Sprint-2/implement/lookup.js index a6746e07f..81db95cb0 100644 --- a/Sprint-2/implement/lookup.js +++ b/Sprint-2/implement/lookup.js @@ -1,5 +1,5 @@ -function createLookup() { - // implementation here +function createLookup(pairs) { + return Object.fromEntries(pairs); } module.exports = createLookup;