UpdateExpression
Extends:
Node → Expression → UpdateExpression
++argument
or argument++
Increments or decrements a number.
Constructor Summary
Public Constructor | ||
public |
constructor(operator: *, argument: *, prefix: *) |
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
|
Inherited Summary
From class Node | ||
public get |
type: * For compatibility with other AST representations,
all Node instances have a 'type' property that is the name of that type.
|
|
public |
toJSON(): * Convert to JSON.
|
|
public |
toString(): * |
Public Constructors
public constructor(operator: *, argument: *, prefix: *) source
Params:
Name | Type | Attribute | Description |
operator | * | ||
argument | * | ||
prefix | * |