Message from JavaScript discussions

September 2020

β€” When do you need branching? for what?


You do conditional computations based on maps. for more than true/false and for boolean, you return one function or the other

β€” Somebody ExplainπŸ˜•

β€” Kek, so you are a member🀀

β€” 0 and 0 is 0
0 or 0 is 0

β€” Yes that's it

β€” But why undefined and not false?

β€” Cause document.write doesn't return anything?

β€” Uff or does the write use undefined for falsy stuff πŸ€”
Try document.write(false)

β€” False is correct

β€” Ye for me too

β€” Done