1. var data = ( function(){
alert('hello');
});
data();
2. var data = ( function(name){
alert(name);
});
data('Americas');
3. (function(){
alert('Hello');
})();
4. (function(name){
alert(name);
})('Americas');
No comments:
Post a Comment