Let's Create an Object In Javascript
function jobj(){};Defining Methods and Properties
function jobj(){ this.nm= 'an object'; this.do = function(){ alert('my name ' + this.nm); };};OOPs of All
function jobj(){};function jobj(){ this.nm= 'an object'; this.do = function(){ alert('my name ' + this.nm); };};Email us: youremail@gmail.com
0 comments:
Post a Comment