Friday, March 22, 2013
Self invoking Function in JS
//self invoking function expression
(
function
sayHello() {
alert(
"hello!"
);
})();
This function will automatically triggered on page load
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment