Question: JavaScript C13 Question 1 (1 point) Which property of the Number object returns the largest positive value that JavaScript can represent? Question 1 options: MIN_VALUE
JavaScript C13
Question 1 (1 point)

Which property of the Number object returns the largest positive value that JavaScript can represent?
Question 1 options:
| MIN_VALUE | |
| MAX_VALUE | |
| POSITIVE_INFINITY | |
| NEGATIVE_INFINITY |
Save
Question 2 (1 point)

If a numerical operation returns a number greater than the largest possible JavaScript value, it returns
Question 2 options:
| NaN | |
| -NaN | |
| Infinity | |
| -Infinity |
Save
Question 3 (1 point)

In JavaScript, NaN represents
Question 3 options:
| a value that isnt a number | |
| the largest positive value that can be represented | |
| the smallest positive value that can be represented | |
| infinity |
Save
Question 4 (1 point)

What method of the Number object returns the string for a number with base 10 as the default?
Question 4 options:
| the toString() method | |
| the round() method | |
| the toPrecision() method | |
| the toFixed() method |
Save
Question 5 (1 point)

What method of the Number object returns a string with the number rounded to the specified number of decimal places?
Question 5 options:
| the toString() method | |
| the round() method | |
| the toPrecision() method | |
| the toFixed() method |
Save
Question 6 (1 point)

What method of the Math object can be used to return the largest value from the values that are passed to it?
Question 6 options:
| the Math.max() method | |
| the Math.ceil() method | |
| the Math.pow() method | |
| the Math.abs() method |
Save
Question 7 (1 point)

What method of the Math object can be used to generate and return a decimal number thats greater than or equal to 0 but less than 1?
Question 7 options:
| the Math.round() method | |
| the Math.random() method | |
| the Math.floor() method | |
| the Math.sqrt() method |
Save
Question 8 (1 point)

The length property of the String object returns
Question 8 options:
| the number of words in the string | |
| the index of the first character in the string | |
| the index of the last character in the string | |
| the number of characters in the string |
Save
Question 9 (1 point)

What method of the String object searches the string for an occurence of the specified search string?
Question 9 options:
| the charAt() method | |
| the search() method | |
| the indexOf() method | |
| the substring() method |
Save
Question 10 (1 point)

Which of the following statements is NOT a valid way to create a date object named birthday?
Question 10 options:
| var birthday = "12/2/1978"; | |
| var birthday = new Date(); | |
| var birthday = new Date("12/2/1978"); | |
| var birthday = new Date(1978, 11, 2); |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
