Return to Snippet

Revision: 21458
at December 13, 2009 20:32 by anobre


Initial Code
var prop = function (a) {
	var str = "";
	for (var i=0; i<a.length; i++) {
	str+= "<li>Obj Property: " + a[i] + "</li>\n";
	} 
	return str;
}

Initial URL

                                

Initial Description
prop(obj);
//usually use "$(str).appendTo(''#ul")

Initial Title
Return properties of an Obj

Initial Tags
object

Initial Language
JavaScript