0 votes
15 views

Code A: var x = 10; y = --x + 1;
alert(y);
Code B: var x = 10;
y = x-- + 1;
alert(y);
What is the output for code A and B?
1. 10,11
2. 10,10
3. 11,10
4. 11,11

in Technology by (189k points)

1 Answer

0 votes

Answer:-10,11

by (189k points)

Related questions

0 votes
1 answer 15 views
0 votes
1 answer 15 views
0 votes
1 answer 12 views
12 views asked Nov 26, 2020 in Technology by JackTerrance (189k points)
+1 vote
1 answer 79 views
0 votes
1 answer 14 views
0 votes
1 answer 11 views
0 votes
1 answer 16 views
0 votes
1 answer 13 views
...