Welcome Guest! (App Version 3.1)

websitnero logo name


Immediately Invoked Functional Expressions (IIFE)

IIFE is the process of taking an anonymous function and running it instantly. Now, what happens is that the anonymous function runs and then there is no way to run it again, so all initialization of properties and methods is done and now no-one can alter those values as function has no name at all. This is the best way to provide Data Abstraction and saving or securing sensitive information inform of data, properties, objects, methods inside a code block.



//Named Function
function alpha(){
alpha();//alpha can be manually invoked 

//Immediately Invoked Anonymous Function - IIFE
//Anonymous Function which is without a name, 
//cannot be manually invoked
  alert('good day');

WebsiteNero is highly optimized for learning various website developing technlogies. We try our best to add maximum modules and examples to help learn the concepts clearly and vividly. We try to present all content and examples as simple as we can removing any complexity to hurdle easy understanding. We try best provide you with worthful content, but we cannot guarantee full correctness of all the content on this site. While using this website, you agree to have read and accepted all our terms of use and conditions, cookie, and privacy policy. Copyright, 2013-2018 by websitenero.com. All Rights Reserved.