Return to Snippet

Revision: 20351
at November 13, 2009 04:51 by rccc


Initial Code
var myVar = new function test(){
  var privateMember = value;
  this.publicMember = value;
}

Initial URL
http://dhtmlkitchen.com/learn/js/singleton/

Initial Description

                                

Initial Title
javascript singleton

Initial Tags
javascript

Initial Language
JavaScript