3 ms·
Not even. `export default new class ...` would be 'equivalent' to an IIFE; using CommonJS module caching to produce singleton behaviour. This should just export
by rounce 10y ago
Not even. `export default new class ...` would be 'equivalent' to an IIFE; using CommonJS module caching to produce singleton behaviour. This should just export a function. That's it.