I want to access data from script tag in html file, produced by cms. Is it possible to do this without polluting global namespace? I\'ve tried to use es6 modules but I\'ve
I also asked myself the same question and found your topic. But then a simple solution came to mind.
// buffer.js export default let buffer={};
// index.html ....