This doesn't make sense to me, but I have a feeling I saw a code using this:
var abc = def || ghi;
My question is, is this valid? Can we add a condition to a variable declaration? I imagine the answer is no but I have this at the back of my mind that I saw something similar in code once.