Message from JavaScript discussions

June 2019

— Null== 0;
what is output??
Null<=0;
Null>=0;

— 

Hi this is sid from Delhi. I really like this group. I m beginner in javascript. Please do help me to learn it.

— ReferenceError: Null is not defined

— But in case why you wonder why null >= 0 == true: https://blog.campvanilla.com/javascript-the-curious-case-of-null-0-7b131644e274

Message permanent page

— Function(arr) {
return arr.filter(n => n % 2 !== 0);
} which operators has higher precedence?

— %

— Https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence#Table

Message permanent page

— Then >= ,then !==

— There is no >=

— Oh yeah my mistake

— => has lower precedence than !==, but I don't think you can call => an operator

— Operator is:
<expr> <op> <expr>
=> is:
<argument|argumentlist> <op> <block|expr>