Samples:
some name
invalid value
|
Any constant value. This can be used to calculate rows and columns. | |
invalid value
|
Represents number of rows in the pattern. Can be any constant value or any javascript expression. You can use variable 'n' to calculate the value. eg 2*n. | |
invalid value
|
Represents number of columns in the pattern. Can be any constant value or any javascript expression. You can use variable 'n' to calculate the value. eg 3*n. |
for (var y=0; y < rows; y++) { for (var x=0; x < columns; x ++) { putDotAtXYIf(
invalid expression
| A javascript expression which evaluates to true or false. If true, a dot will be placed at the x y position. You can use n, columns and rows variables in the expression. eg x==rows. PS: a common typo: use == instead of = to check equality. |
); } }
Please enter feedback