let a = '';
let b = typeof c ==='undefined' ? (a = 'b is undefined','c is undefined') : c ;
// Result
// a = 'b is undefined'
// b = 'c is undefined'