Save
ICT
O&D
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
Shua
Visit profile
Cards (34)
Types of JS Operators
Arithmetic
Operator
Assignment
Operator
Comparison
Operator
String
Operator
Logical
Operator
Bitwise
Operator
Ternary
Operator
Type
Operator
View source
Arithmetic
Operators
Used to perform
arithmetic
on numbers
View source
Operator
Precedence
Describes the
order
in which operations are performed in an
arithmetic
expression
View source
Operator
Precedence
Parentheses
Multiplication
Division
Addition
Subtraction
View source
Assignment Operators
Assign values
to JavaScript
variables
View source
Comparison
Operators
Used in
logical statements
to determine
equality
or difference between variables or values
View source
Data
Types
Different
types
of data
View source
Value
A piece of information that can be a Number,
String
, Boolean,
Null
View source
Data
Types
String
Numbers
Boolean
null
undefined
Objects
View source
String
A series of characters enclosed in
quotation marks
View source
Numbers
Any numeric value, can be
positive
or
negative
View source
Boolean
A logical true or false, used to evaluate whether a
condition
is true or false
View source
Null
A special keyword denoting a null value (i.e.
0
(zero) or
nothing
)
View source
Undefined
A variable
without
a value, has the value
undefined.
The type is also undefined.
View source
Object
Everything in JavaScript acts like an object
aside
from
null
and undefined
View source
Array
A special variable, which can hold more than one
value
View source
Date
Date objects
are created with the new
Date()
constructor. It is used to access the browser's current date and time.
View source
Create a JavaScript program to display the current time using a button
Explore
!
View source
+
Addition
-
Subtraction
*
Multiplication
**
Exponentiation
/
Division
%
Modulus
++
Increment
--
Decrement
==
equal
to
===
equal
value
and equal type
!=
not equal
!==
not equal
value
or not equal
type
>
greater
than
<
less
than
>=
greater
than or
equal
to
<=
less
than or
equal
too