- 2

Can anyone help me to explain about this problem var c = 3,d = 4; a = d; b = c; ++d; alert(a*d+c);

28th Aug 2021, 9:36 AM
Bikash Jyoti Bhagawati
Bikash Jyoti Bhagawati - avatar
1 Answer
+ 2
var c = 3,d = 4; var a = d; // a = 4 now var b = c; ++d; // d = 5 now console.log(a*d+c); // 4*5+3 = 23
28th Aug 2021, 10:42 AM
Avinesh
Avinesh - avatar