6
rated 0 times
[
12]
[
6]
/ answers: 1 / hits: 100851
/ 15 Years ago, tue, may 19, 2009, 12:00:00
I have code like this.
var key = anything;
var object = {
key: key attribute
};
I want to know if there is a way to replace that key
with anything.
like
var object = {
anything: key attribute
};
More From » javascript