0
Q:

less than equal to in javascript

if(a <= 5){
   yourFunction();
}
2
>= // greater than or equal 
<= // less than or equal
> // greater than
< // less than
== // equals
=== // strictly equals
!= // not equals
!== // stricly not equals
3
| <= | less than or equal to |	x <= 8 | true |
2
let a=12
if(a!=5){
  console.log(true)
}
since a is not equal to 5, it will print true
1
const adrian = {
  fullName: 'Adrian Oprea',
  occupation: 'Software developer',
  age: 31,
  website: 'https://oprea.rocks'
};

const bill = {
  ...adrian,
  fullName: 'Bill Gates',
  website: 'https://microsoft.com'
};
-2

New to Communities?

Join the community