2009-11-25 5 views

Répondre

18

Utilisez la notation de support à la place.

var name = otherObject.name; 
var o = {}; 
o[name] = otherObject; 
Questions connexes