In Self Invoking Functions, the This Below Console.Logs The Created Object
(function(){classPerson{constructor(name){this.name= name;console.log(this);}}const p =newPerson("John Smith");})()/*console.log(this) will be Object with name of "John Smith"*/