diff --git a/test/parallel/test-eventtarget.js b/test/parallel/test-eventtarget.js index 9a5f7b0abf791e..c1ed4cadcaf2d8 100644 --- a/test/parallel/test-eventtarget.js +++ b/test/parallel/test-eventtarget.js @@ -488,7 +488,7 @@ ok(EventTarget); clearInterval(interval); })().then(common.mustCall()); { - let target = new EventTarget(); + const target = new EventTarget(); const event = new Event('foo'); let callCount = 0; target.addEventListener('foo', common.mustCall(() => {