Compares two expressions and returns true if one or both evaluate to true. Returns false only if both expressions are false. The following list shows all possible combinations: 두개의
표현식을 검사하여
하나 또는 둘다 true 이면 true
를 반환합니다. 두개
모두 false 일때 false 를
반환합니다. 아래는
가능한 모든 경우를
나열한 것입니다.
true || false // Evaluates true because the first is true false || true // Evaluates true because the second is true true || true // Evaluates true because both are true false || false // Evaluates false because both are false
|