comma operator in javascript

Solutions on MaxInterview for comma operator in javascript by the best coders in the world

showing results for - "comma operator in javascript"
Angelina
03 May 2018
1var a = 0; 
2var b = ( a++, 99 ); 
3console.log(a);  // a will be equal to 1 
4console.log(b);  // b is equal to 99