READ Free Dumps For Microsoft- 70-480
Question ID 14834 | You are creating a JavaScript object that represents a customer.
You need to extend the Customer object by adding the GetCommission() method.
You need to ensure that all future instances of the Customer object implement the
GetCommission() method.
Which code segment should you use?
|
Option A | Option A
|
Option B | Option B
|
Option C | Option C
|
Option D | Option D
|
Correct Answer | D |
Explanation Explanation: * Object.prototype.constructor Returns a reference to the Object function that created the instance's prototype. Note that the value of this property is a reference to the function itself, not a string containing the function's name. The value is only read-only for primitive values such as 1, true and "test". * The constructor property is created together with the function as a single property of func.prototype. Reference: Object.prototype.constructor
Question ID 14835 | You are developing a web page. You create a grid layout by using the following CSS
segment.
You have the following requirements:
✑ You must place content in the first column of the second row.
✑ The content must span two columns.
You need to ensure that the style of the grid meets the requirements.
Which CSS segment should you use?
|
Option A | Option A
|
Option B | Option B
|
Option C | Option C
|
Option D | Option D
|
Correct Answer | A |
Explanation Explanation: -ms-grid-column-span Gets or sets a value that specifies the number of columns of the grid that the object spans. This property is read-only. Property values The number of columns. Integer value that specifies the number of columns to span. Reference: -ms-grid-column-span property