From 94f3b12f6e675cfba105b10b7273590b740a387e Mon Sep 17 00:00:00 2001 From: borsec-suveran <62297262+borsec-suveran@users.noreply.github.com> Date: Thu, 19 Mar 2020 14:14:48 -0400 Subject: [PATCH] Update 02_.md The Application Question for Integer Numbers does not accept 'Infinity' as the correct answer, even though the explanation lists it as being correct. --- .../00_Data Types/06_Integer Numbers/02_.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02_Data Types and Variables/00_Data Types/06_Integer Numbers/02_.md b/02_Data Types and Variables/00_Data Types/06_Integer Numbers/02_.md index b96a7b7..c07aa5c 100755 --- a/02_Data Types and Variables/00_Data Types/06_Integer Numbers/02_.md +++ b/02_Data Types and Variables/00_Data Types/06_Integer Numbers/02_.md @@ -1,3 +1,3 @@ The sample code above contains 6 variables. The first three should look familiar as they are just variables that are declared and assigned a value. The fourth and fifth variable, `a` and `b` are declared on the same line. Calling more than one variable in one line is common in JavaScript. This can be achieved using a comma to separate each variable. -The two variables `sum` and `div` are not assigned a specific integer, but an addition/division of two variables. This is also common as the expressions on the right are evaluated before assigning the variable an integer. Notice that `div` is actually equal to "Infinity". Dividing any number by 0 will give you this result. The only exception is "0 / 0", which will return NaN (abbreviation for Not a Number). \ No newline at end of file +The two variables `sum` and `div` are not assigned a specific integer, but an addition/division of two variables. This is also common as the expressions on the right are evaluated before assigning the variable an integer. Notice that `div` is actually equal to "Infinity". Dividing any number by 0 will give you this result. The only exception is "0 / 0", which will return NaN (abbreviation for Not a Number).