Learn Scripting Languages from the Master!
An operator is a method implemented to replace, modify or combine values represented by variables. With operators, we can evaluate expressionssJavaScript commands that assign values to variables. In the following expression,
totalAmountDue = totalBeforeTax + (totalBeforeTax * .05);
=, +, * are operators. An expression, as shown above, always has an assignment operator (= sign). An expression can also contain other operators (like +, *, -, /, etc.).
For more information on JavaScript operators, please access the following pages: