Please enable JavaScript to use CodeHS

CodeHS Glossary


Or operator JavaScript

Logical operator that ORs two boolean values. Written as `||`. `a || b` will be true if `a` or `b` is true.