Adi – 17-33 May 30
I have one question lets say I am using revealing module pattern in JS and if some methods are public and I attach that module to window object then I can access that public method of that specific module in another JS file is that correct? But lets say we have 2 separate files each of them are ESModules generated through webpack then can I access public method of one file in another JS file?? As we have generated both files using webpack module bundler they will not be accessed from any other file is this correct understanding?
