The JSCalc Script Helper consists of pre-programmed buttons that will help you generate codes in JavaScript.

There are buttons for mathematical operators, conditional operators, and also custom inputs.

The following table describes the function of each Conditional Operators button.

Buttons

Description

if

Executes a specified block of code if a condition is true.

and

Executes a specified block of code if a set of conditions is true, if and only if all conditions are true. (&& operator)

or

Executes a specified block of code if a set of conditions is true, if and only if one or more of the condition is true. (|| operator)

==

Returns true if two values are equal, otherwise returns false.

Returns true if two values are not equal, otherwise returns false. (!== operator)

<

Returns true if the left value is less than the right value, otherwise returns false.

>

Returns true if the left value is greater than the right value, otherwise returns false.

Returns true if the left value is less than or equal to the right value, otherwise returns false. (<= operator)

Returns true if the left value is greater than or equal to the right value, otherwise returns false. (>= operator)

Did this answer your question?