Welcome back to learn to code in JavaScript.
Now I'm going to talk about operators, what is an operator and what does it do?
So an operator operates on something, so generally an operator will operate on either one thing, which
is called unary or two things, which is called biner, think of a unicycle in a bicycle.
So operational precedence and we'll talk more about this later.
And many operators can work on either literals or variables, but some need a variable, there's some
types of operators, arithmetic operators, and they give a numerical response.
So think of a attraction and so on.
Relational operators, these compare to things and they give a Boolean response.
Is X less than Y true or false logical operators.
They also give a brilliant response and we'll see that these are generally speaking and not an OR.
So is a true and be true, they must both be true assignment operators and we've seen the equal sign
assignment operator so far.
There are others, so let X equals five.
That's an assignment of five to the variable X.