Monday 17 August 2015

Make Object In javascript

function jobj(){
};

function jobj(){
    this.nm= 'an object';
    this.do = function(){
        alert('my name ' + this.nm);
    };
};

0 comments:

Post a Comment

 

Subscribe to our Newsletter

Contact our Support

Email us: youremail@gmail.com

Our Team Memebers