JavaScript: Operators & Keywords Flashcards
javascript keyword: var
declares a variable
javascipt operator: =
assignment operator: used to assign a value to a variable
javascript operator: + (Number)
addition operator: adds one value to another
javascript operator: -
subtraction operator: subtracts one value from another
javascript operator: /
division operator: divides two values
javascript operator: *
multiplication operator: multiplies two values
javascript operator: ++
increment operator: adds one to another value
javascript operator: –
decrement operator: subtracts one from another value
javascript operator: %
modulo operator: divides two values and returns the remainder
javascript operator: + (String)
concatenation operator: joins two strings into one
javascript operator: typeof
typeof operator: returns a string indicating the type of the unevaluated operand
javascript operator: >
greater than relational operator: returns true if the left operand is greater than the right operand
javascript operator: <
less than operator relational: returns true if the left operand is less than the right operand
javascript operator: >=
greater than or equal to relational operator: returns true if the left operand is greater than or equal to the right operand
javascript operator: <=
less than or equal to relational operator: returns true if the left operand is less than or equal to the right operand