Given the code below
```
var rectangleA = {
x: 200,
y: 10,
width: 40,
height: 20,
moveDown: function () {
this.y += 5;
}
};
```
(i) write a statement to change the x value of rectangleA to 150.
(ii) write a statement to invoke the method moveDown() on rectangleA.
(i) rectangleA.x=150;
(ii) rectangleA.moveDown();
Computer Science & Information Technology
You might also like to view...
The forward slash in Excel is used as the division sign
Indicate whether the statement is true or false
Computer Science & Information Technology
Which of the following choices is not in the same family as the other choices, in that they provide guidelines and associated supporting documentation that defines standard terminology and specific required elements and practices?
A. ISO 15504 B. CMMI C. ISO 16488 D. ISO 15408
Computer Science & Information Technology