javascript

함수는 개체의 속성으로 사용가능

시크유 2011. 11. 25. 17:53
var obj = {"aaa" : function(){return "AAA";}};

alert(obj.aaa);