Greetings @TauCeti, The third answer is incorrect. The right answer would be – || (OR), && (AND) , ! (NOT)
Please let me know if you need any more assistance.
Happy Learning !
Greetings @TauCeti, The third answer is incorrect. The right answer would be – || (OR), && (AND) , ! (NOT)
Please let me know if you need any more assistance.
Happy Learning !
They are used to compare or define values when used together in an expression
Operators that give a true or false result
and, or, not
Thank you my friend! Appreciated.
What are operators?
Operators are symbols that represent an action or a process between one or more values. They were adapted from mathematics and logic.
What binary operators do you know?
What logical operators do you know?
&& and
| | or
! not
? : conditional or ternary operator eg (true ? 1 : 2) ; results in 1, (false ? 1 : 2); results in 2, ie when it is true to the left of the ? it picks the middle value, when it is false, it picks the value after the colon.
1.What are operators?
characters that preform a function.
2. What binary operators do you know?
*±/
3. What logical operators do you know?
|| ! &&
What are operators?
The symbols used to return a value by playing one variable off against another
What binary operators do you know?
+,-,*,/,%,<,>,=
What logical operators do you know?
Or ||
And &&
Not !
[/quote]
Arithmetic, such as
+ Addition
- Subtraction
* Multiplication
/ Division
% Modulus (remainder)
Examples of logical operators In Javascript are boolean operators such as
There are many other types of operators such as
I have not yet discovered how (and if) Javascript can handle all these type of operators yet.
1 it’s like a verb
2 ±*/%
3 && : and
|| : or
! : not
<,>, ==, =>, =< : comparison operators
Operators take inputs and turn them into outputs. They are used to assign or compare values, perform arithmetic operations, evaluate expressions, etc.
The binary operators I know are:
, Comma
!= Inequality
% Modulus
%= Modulus/assignment
& Bitwise AND
&& Logical AND
&= Bitwise AND/ assignment
*= Multiplication/assignment
+= Addition/assignment
-= Subtraction/assignment
-> Member selection
->* Pointer-to-member selection
/ Division
/= Division/assignment
< Less than
<< Left shift
<<= Left shift/assignment
<= Less than or equal to
= Assignment
== Equality
(>) Greater than
(>=) Greater than or equal to
(>>)Right shift
(>>=) Right shift/assignment
^ Exclusive OR
^= Exclusive OR/assignment
| Bitwise inclusive OR |
= Bitwise inclusive OR/assignment
|| Logical OR
What are operators?
Operators are different symbols and sometimes a word (typeof) that tell the JavaScript program what to do with values.
What binary operators do you know?
Binary operators using only two values -
true/false
on/off
yes/no.
Boolean is binary operator. Minus (-) can also be a binary operator.
What logical operators do you know?
JavaScript supports only 3 logical operators- and (&&), or (I I), not (!).
What are operators?
Operators are what tell values how to relate. + is an operator. So, a+b tells the compiler to add the value of a and the value of b.
What binary operators do you know?
true/false
on/off
yes/no
What logical operators do you know?
and (&&)
or (||)
not (!)
1 What are operators? Are symbols that will affect calculation of integers such as -, +, *, /, also the + operator can be used to join strings together.
2. What binary operators do you know? ==, <, >, !,
3. What logical operators do you know? and, or or not = &&, || or ! respectively.
[/quote]
1 operators alter change values through symbols i.e. +*
2 multiply divide addition subtraction lesser and greater than
3 and or not (&& || ! )
JavaScript operators are basically special symbols used to perform specific operations on one, two, or three operands, and then return a result. There are numerous types of operators, such as: a Simple Assignment Operator, Arithmetic Operators, Unary Operators, Equality and Relational Operators, Conditional Operators, Type Comparison Operator, Bitwise and Bit Shift Operators, etc., each for different tasks.
Operators that use two values are called binary operators, while those that
take one are called unary operators. The minus operator can be used both as
a binary operator and as a unary operator.
Operators + (addition,concatenate), - (subtraction), * (multiplication), / (division), %(remainder), > and < (applying them results in a Boolean value that indicates whether they hold true), >= (greater than or equal to), <= (less than or equal to), == (equal to), and != (not equal to).
JavaScript supports three logical operators: and, or, and not. These can be used to “reason” about Booleans.
&& operator (logical and, is a binary operator, and its result is true only if both the values given to it are true).
|| operator (denotes logical or, produces true if either of the values given to it is true).
The logical operator that is not unary, not binary, but ternary (conditional), operating on three values, is written with a question mark and a colon, like this:
console.log(true ? 1 : 2);
// → 1
console.log(false ? 1 : 2);
// → 2
The value on the left of the question mark “picks” which of the other two values will come out.
When true, it chooses the middle value, when false, it chooses the value on the right.
Operations in the language that don’t produce a meaningful value yield undefined simply because they have to yield some value. The difference between undefined and null is an accident of JavaScript’s design, and it doesn’t matter most of the time.
greater than < less than signs, == equals to, != not equal to