What is the best way to write something like this in shorthand using operators, if possible?
if (l1 == null && l2 == null){
return null;
}
else if (l1 == null){
return l2;
}
else if (l2 == null){
return l1;
}