7 ms·
JS: undefined && undefined -> undefined Python: None and None -> None
by detaro 7y ago
JS: undefined && undefined -> undefined
Python: None and None -> None
- Izkata 7y agoOn top of that, truthy values also propagate, so if isDelivered or isNotified are something else that's truthy (such as a 1 from mysql), isDone will not be True either and risk failing in more interesting ways down the line.