English, asked by psoundarya666, 3 months ago

var demo = 0;
var x = { id: 1),
1
y = { id: 2};
demo[x] = "alpha";
demo[y] = "beta":
demo[x];
demo[y];​

Answers

Answered by mullamaheen46
1

Answer:

Demo[x] ;alpha

Demo [y] ;beta

Answered by kumawatdeendayal11
0

var demo = {};

var x = { id: 1),

1

y = { id: 2};

demo[x] = "alpha";

demo[y] = "beta":

demo[x];

demo[y];​

Answer:

demo[x]; "beta"

demo[y];​ "beta"

var demo = 0;

var x = { id: 1),

1

y = { id: 2};

demo[x] = "alpha";

demo[y] = "beta":

demo[x];

demo[y];​

Answer:  

undefined

undefined

Explanation:

Similar questions