Today I will explain how to use binary conditions in JavaScript, There are two binary conditions we use mostly, let us see in detail.
1. &&  Binary ‘AND’ returns true if the both values are true.
2. ||  Binary ‘OR’ returns true if either value is true.

Now we will check the examples for both the conditions

```If ((5<6) && (4<3))
{
//Here true && false gives you false , will not execute the code .

}
If ((5<6) && (4<5))
{
//Here true && true gives you true, execute the code

}
If ((5>6) && (4>5))
{
//Here false && false gives you false, will not execute the code
```
```If ((4<3) || (5<6))
{
//Here false || true gives you true, execute the code.

}
If ((5>6) || (4>5))
{
//Here false || false gives you false, will not execute the code

}
If ((5<6) || (4<5))
{
//Here true || true gives you true, execute the code

}
```

Now we will look over the functions in javascript, how to create the function and reuse the function in JavaScript.

Now we will start the function with the actual keyword function follows the function name indicates briefly what’s going in the process.
Now we will see the syntax for the function below

```Function addition (a, b)
{
Var a;
Var b;
Var sum= a + b;
Return sum;
}
```

Now how to write efficiency functions which helps conserve memory and storage operations.

```Function addition (a, b)
{
Return a + b;
}
```

Now we can use above function as many as you want .
1. addition( 4 ,5);  output 9.
2. addition( 6 ,5);  output 11.