Javascript – Why can't I access path variable inside IIFE?
When I write const path = require('path') outside the IIFE function I can't access it inside, but when I write it inside the function I am able to access it. Can anyone explain why is this happening? Can't access in…