From ac3633e64aed59ae99cdc4cdce1abf0c4258abd4 Mon Sep 17 00:00:00 2001 From: Rohit Paul <113459757+RohitPaul12345@users.noreply.github.com> Date: Tue, 1 Aug 2023 19:53:15 +0530 Subject: [PATCH] Update clone-object.js --- test/clone-object.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/clone-object.js b/test/clone-object.js index 86ec647..1cf7666 100644 --- a/test/clone-object.js +++ b/test/clone-object.js @@ -1,6 +1,6 @@ describe('clone object', function () { it('should clone an object', function () { - var expected = {name: 'Ahmed', age: 27, skills: ['cycling', 'walking', 'eating']}, + let expected = {name: 'Ahmed', age: 27, skills: ['cycling', 'walking', 'eating']}, obj = {}; expect(obj).toEqual(expected);