From 88748cc7931969276081727ece36cea9e0218da9 Mon Sep 17 00:00:00 2001 From: Rohit Paul <113459757+RohitPaul12345@users.noreply.github.com> Date: Tue, 1 Aug 2023 19:51:34 +0530 Subject: [PATCH] Update scoping.js --- test/scoping.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/scoping.js b/test/scoping.js index 557c54a..b264b53 100644 --- a/test/scoping.js +++ b/test/scoping.js @@ -1,6 +1,6 @@ describe('scoping', function () { it('should correctly deal with scoping `this` back to the callee', function () { - var mod = new Module(), + let mod = new Module(), request; request = function (callback) { @@ -21,4 +21,4 @@ describe('scoping', function () { expect(mod.req()).toBe('bar'); }); -}); \ No newline at end of file +});