Can anyone explain the meaning of the "?" symbol in the JavaScript snippet provided below? The code is not wrapped for clarity, so I want to make sure I understand it correctly...
errMess = t.origStatus != undefined && t.status != t.origStatus && t.statuseffective == null ? errMess + t.systemname + ": Status effective date invalid.\n" : errMess;
In my interpretation:
errMess =
t.original status not equal to undefined AND
t.status not equal to original status AND
statuseffective equals null ? <-- unsure about this part