New object
Hii everyone...I want to create a new object in javascript...How can i do that? Please reply asap, i really need your help..Thank you
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Alok UniyalPosted Jan 25, 2012, 12:26 AM
function myobject()
{
this.a = 0;
this.b = 0;
this.c = 0;
}
var Obj= new myobject();