Hello sir, what is the difference between these 2 as you mentioned IIFE provide data privacy?because in normal function statement I am not able to access prefix variable function words(){ var prefix = "Hello"; console.log(prefix); }; console.log(prefix);//prefix is not defined (function words(words){ var prefix = "IIFE"; console.log(prefix + words); })('Hello world'); console.log(prefix);//prefix is not defined