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
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Alok UniyalRank #8,369 · 223 reputationPosted Jan 24, 2012, 7:26 PM EST
function myobject()
{
this.a = 0;
this.b = 0;
this.c = 0;
}
var Obj= new myobject();