1const { exports: moduleScoped } = module; 2 3function topFn(a, b = false) { 4 const l1 = a; 5 let t = typeof l1; 6 var v = t.length; 7 debugger; 8 return b || t || v || moduleScoped; 9} 10 11class Ctor { 12 constructor(options) { 13 this.options = options; 14 } 15 16 m() { 17 const mLocal = this.options; 18 topFn(this); 19 return mLocal; 20 } 21} 22 23(function () { 24 const theOptions = { x: 42 }; 25 const arr = [theOptions]; 26 arr.forEach(options => { 27 const obj = new Ctor(options); 28 return obj.m(); 29 }); 30}()); 31