[Solved] Why does the || (or) and && (and) operator in JavaScript behave differently than in C (returning non boolean value)?



Why does the || (or) and && (and) operator in JavaScript behave differently than in C (returning non boolean value)?

solved Why does the || (or) and && (and) operator in JavaScript behave differently than in C (returning non boolean value)?