I want to create a object in JavaScript which will store values in key, value pair and I should be able to pass some key and should be able to get its value back. In .NET wo
var widget={}; var key='k'; widget[key]='v'; alert(widget.k);//gives you v