//Use to add a singl e line comment, or comment out a single line of code. /* */Use to add a multi-line comment, or comment out multiple lines of code. +Adds two values together or concatenates two strings into a single string. -Subtracts the value of a number from another number. *Multiples the values of two numbers. /Divides a number by another number. %Divides a number by another number and returns the remainder. ++Increments the value of a number by 1. --Decrements the value of a number by 1. - (unary)Changes the sign of a signed integer. =Assigns a value to a variable or other object. +=Adds the value of the first item to the second item and assigns the total to the first item as a new value. -=Subtracts the value of the second item from the first item and assigns the total to the first item as a new value. *=Multiples the value of the first item by the second item and assigns the total to the first item as a new value. /=Divides the value of the first item by the second item and assigns the total to the first item as a new value. >>=Shifts the first item in binary representation the value of the second item of bits to the right, discarding bits shifted off, and assigns the new value to the first item. <<=Shifts the first item in binary representation the second item of bits to the left, shifting in zeros from the right, and assigns this total to the first item. >>>=Shifts the first item in binary representation the value of the second item bits to the right, discarding bits shifted off, shifting in zeros from the left, and assigns this total to the first item. &=Returns the value of the first item one in each bit position for which the corresponding bits of both operands are ones, and assigns the new value to the first item. |=Returns the value of the first item one in each bit position for which the corresponding bits of either or both operands are ones, and assigns the new value to the first item. ^=Returns the value of the first item one in each bit position for which the corresponding bits of either but not both operands are ones, and assigns the new value to the first item. &Returns the value of the first item one in each bit position for which the corresponding bits of both operands are ones. |
|Returns the value of the first item one in each bit position for which the corresponding bits of either or both operands are ones. ^Returns the value of the first item one in each bit position for which the corresponding bits of either but not both operands are ones. ~Reverses the bits of the value. <<Shifts the first item in binary representation the second item of bits to the left, shifting in zeros from the right. >>No description provided. >>>Shifts the first item in binary representation the value of the second item bits to the right, discarding bits shifted off, shifting in zeros from the left ==Returns true if both values are equal. !=Returns true if the two values are not equal. ===Returns true if both values are of the same type and are equal. !==Returns true if the two values are either of different types or are different values. >Returns true if the value of the first item is greater than the value of the second item. >=Returns true if the value of the first item is greater or equal to than the value of the second item. <Returns true if the value of the first item is less than the value of the second item. <=Returns true if the value of the first item is less than or equal to the value of the second item. &&Returns true if both the first and second expression evaluate to true. ||Returns true if either the first or second expression evaluate to true. !Inverts the boolean value of the expression. ,Evaluates the value of the first expression, then the second expression, and returns the value of the second expression. breakBreaks out of the current loop, switch, or labeled statement. constDeclares a read-only constant. condition ? ifTrue : ifFalseEvaluates an expression, and does the first statement if the expression is true, or the second statement if the expression is false. continueIn a while loop, jumps back to the condition statement. In a for loop, jumps to the update statement. deleteDeletes an object, a property of an object, or an element in an array at the specified index. |
do...whileActs as a loop that continues to execute the doThis statement until the while expression is false. exportAllows properties, functions, and objects from one script to be accessed by other scripts. forExecutes a loop so that while expressionA is true, executes statementA and then evaluates expression B, then executes statementB if expressionB is true. for...inLoops through the properties of an object. functionDeclares a function. if...elseIf the expressionA is true, executes statementA. If the expression is false, evaluates expressionB. If expressionB is true, executes statementB. Otherwise, executes statementC. importImports properties, functions, and objects from a script that has exported them. inReturns true if the specified property name can be found in the specified object. instanceOfReturns true if the specified object is of the specified object type. labelLabels a statement with an identifier. letLabels a statement with an identifier. newCreates an instance of an object type that has a constructor function. returnSpecifies the value to be returned by a function. switchEvaluates an expression, and executes the statement(s) associated with the appropriate case for the value of the expression. thisRefers to the calling object of a property. throwSpecifies an exception to throw when an error occurs. try...catchTries to execute the tryStatment, and executes the appropriate catch statement if there is an exception. typeofReturns the type of the specified variable. varDeclares a variable and sets its initial value (if specified). voidEvaluates the specified expression without returning a value. whileExecutes a statement while the specified expression is true. withTemporarily modifies the scope chain of a statement. yieldGenerator that returns the value for each step in a loop. |


