JavaScript Terms

JavaScript is an interpreted compiled programming language with first-class functions.

If-else

If-else is a block of statements that are executed, depending on a condition.

Example

if(animal == 'duck'){

console.log('quack, quack');

}else {

console.log('bark');

}