littlebirdd1099 littlebirdd1099
  • 07-08-2019
  • Computers and Technology
contestada

If a numerical operation returns a number greater than the largest possible JavaScript value, it returns



NaN

-NaN

Infinity

-Infinity

Respuesta :

Branta Branta
  • 12-08-2019

Answer:

Infinity

Explanation:

If a numerical operation returns a number greater than the largest possible javascript value, it returns Infinity (POSITIVE_INFINITY for positive values).

The largest possible value that can be handled by javascript can be determined using the following code segment:

<script>

var x = Number.MAX_VALUE;

alert(x);

</script>

This returns a value 1.7976931348623157e+308 . So if the result of a numerical operation is larger than this, Infinity is returned.

Answer Link

Otras preguntas

what kind of community do you belong now? a healthy one or not? explain​
I need help with this
1+X=4 So what does X Equal
Circle the correct answers 1 My sister Helen likes/like to ski 2 i don't like/don't like to rock music 3 do you like/like to do yoga? 4 hiro likes/likes to rea
Can you help work question number 4 please?
Explain why powdered magnesium reacts faster with 30cm3 of 2M Hydrochloric acid than equal mass of Magnesium ribbon with 30cm3 of 2M hydrochlorric acid
what areas do you consider yourself strong​
which is irrational? -12/3 , 9.1293… , 10.55..? -5/19 , checkmark81 , checkmark30 3.1415.. , -2pi , checkmark16/2 0.5 , - checkmark100 , 4.23
a batch of trail mix has nuts to raisins at the rate shown on the graph 1211109876543 · ← dot210 2 4 6 8 10 12 14 16 18 20 22 24 nuts (oz)its on 3 to the 6 but
Expand and simplify (x-2)(x-1)