ForStatement
for (init; test; update) body
Not to be confused with ForInStatement or ForOfStatement.
Constructor Summary
Public Constructor | ||
public |
constructor(init: *, test: *, update: *, body: *) |
Member Summary
Public Members | ||
public |
|
|
public |
init: VariableDeclaration | Expression |
|
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(init: *, test: *, update: *, body: *) source
Params:
Name | Type | Attribute | Description |
init | * | ||
test | * | ||
update | * | ||
body | * |