READ Free Dumps For Microsoft- 70-480
Question ID 14900 | You are developing an HTML5 web application and are styling text.
You need to use the text-transform CSS property.
Which value is valid for the text-transform property?
|
Option A | Italic
|
Option B | Red
|
Option C | Capitalize
|
Option D | Line-through
|
Correct Answer | C |
Explanation Explanation: CSS Syntax text-transform: none|capitalize|uppercase|lowercase|initial|inherit; Example Transform text in different elements: h1 {text-transform:uppercase;} h2 {text-transform:capitalize;} p {text-transform:lowercase;} Reference: CSS text-transform Property http://www.w3schools.com/cssref/pr_text_text-transform.asp
Question ID 14901 | You are developing an application that uses a JavaScript library. The library contains the
following functions.
The application uses the following code. (Line numbers are included for reference only.)
The library may throw many types of exceptions. The exceptions are grouped by category.
You need to catch and identify the exceptions by group.
Which code segment should you insert at line 05?
|
Option A | Option A
|
Option B | Option B
|
Option C | Option C
|
Option D | Option D
|
Correct Answer | B |
Explanation Explanation: instanceof The instanceof operator tests whether an object has in its prototype chain the prototype property of a constructor. The instanceof operator tests presence of constructor.prototype in object prototype chain. Example:: // defining constructors function C(){} function D(){} var o = new C(); // true, because: Object.getPrototypeOf(o) === C.prototype o instanceof C; // false, because D.prototype is nowhere in o's prototype chain o instanceof D; Reference: instanceof