Hi,
is there a pattern name for this ?
var HelloWorld = (function () {
function HelloWorld(str) {
alert(str);
}
return HelloWorld;
})();
HelloWorld('Hello there :)');
Thanks in advance.
Bye
Hi,
is there a pattern name for this ?
var HelloWorld = (function () {
function HelloWorld(str) {
alert(str);
}
return HelloWorld;
})();
HelloWorld('Hello there :)');
Thanks in advance.
Bye
may be module pattern ?