April 18, 2008

How do you create a new object in JavaScript?

var obj = new Object(); or var obj = {};

Subscribe to

Add to Google
Add to My Yahoo!
Subscribe Via Web Feed
kick it on DotNetKicks.com