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();
You might also like to view...
Which of the following is true about private IP addresses?
A. they are assigned by the IANA B. they are not routable on the Internet C. they are targeted by attackers D. NAT was designed to conserve them
A(n) ____________________ is a place on a web page that gives viewers a means of contacting the company if they have questions or problems.
Fill in the blank(s) with the appropriate word(s).
Panels open by default in the selected workspace when you start Flash.
Answer the following statement true (T) or false (F)
Describe the AMD Accelerated Processing Unit (APU).
What will be an ideal response?