JavaScript Treehouse Club - MASH MASH - JavaScript Important Stuff - Part 3

2 Answers

16,288 Points

Hi Anna,

It is mentioned in the preceding video at about the 1:00 mark. It's quite easy to miss.

"This is either a number we pass in or, and these two pipes mean or, four"

|| means 'or'