When creating an IIFE, use a regular function, NOT an arrow function.
With a fat arrow, this is bound to the this of the surrounding code (in this case Window or Global).
(() => {
'use strict';
console.log('fat arrow', this)
})();
(function(){
'use strict';
console.log('function', this)
})();