logo


Selection in JS

Selection

Selection is defined as how a program makes a decision.

The decision must be based on a condtion or question. For example, we could generate a number and then ask the program to decide it is Odd or Even.

This section shows you haw to make the comouter do that using JS.