Questions
- What does the following expression evaluate to "var answer = (((3 * 90) === 270) || !(false && (!false)) || "bex".toUpperCase() === "BEX");"?
- Write a switch statement that uses 2 cases and a default.
- Create an object with 2 properties either using object literal notation or constructor notation.
- Access any property of the object "dog" using either bracket notation or dot notation.
- var dog = {
species: "greyhound",
weight: 60,
age: 4
};
- Make a method for an object, "rectangle", to change its height.
- var rectangle = new Object();
rectangle.height = 3;
rectangle.width = 4;
Also, I tried to have the items in my
to do list highlight when the cursor hovered over them but instead it highlighted the entire list. You can take a look at it but I will likely remove it later unless I can make it look better.
No comments:
Post a Comment