HOTSPOT
You are validating user input by using built-in JavaScript functions.
The application must:
Store the value that is entered in a variable named inputValue
Use the built-in isNaN(tnputValue) function to evaluate the data type
You need to validate the return value of the isNaN(inputValue) function.
Which values will be returned? (To answer, configure the appropriate options in the dialog
box in the answer area.)

Explanation:
Is this true as well? In the V3 they say they are all false
0
0
All those functions in firefox’s console return ‘false’.
0
0
Is correct:
isNaN(“-13”) = false
isNaN(“24.3”) = false
isNaN(“3*8”) = true
isNaN(“‘5′”) = true
1
1
OF course they are true if you add the quotes around the values. The question wasn’t about “3*8” but 3*8. The only value with the quotes is the last one, and they are present in the question. The last one returns false as well, according to w3schools http://www.w3schools.com/jsref/jsref_isnan.asp
0
0
But then again, reading the question more attentively we see that those values are user inputs, so of text type. I think that you are right, Jose
0
0
isNaN(“3*8”) = true
isNaN(“‘5′”) = true
there are false
test like this dont change them to string coz all string true;
isNaN(3*8) = true
isNaN(‘5′) = true
0
0
no, values comes from input control – it will be string
0
0
ِAll of them False
1
0
All of them False
1
0
If userInput is taken from , then the answer that’s given is correct
https://jsfiddle.net/wvtjw4su/
0
0
form input type text
0
0
P.S.
That PL 247Q dumps now are available on Google Drive for free:
https://drive.google.com/open?id=0B-ob6L_QjGLpfjZFQ2IzbXZXN3QzYzVYVlVfeVU1cmlvV3hFSXFpemdoaUxIelltVTFGS0U
Just FYI! Good Luck!!
0
0
All false!
false: -13
false: 24.3
false: 3*8
false: ‘5’
2
0
isNaN -> is NOT a number
some examples here
https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_isnan
all false!
1
0
Try this:
TestIsNaN
var testIsNaN = function() {
alert(document.getElementById(‘test’).value + ‘ is not a number: ‘ + isNaN(document.getElementById(‘test’).value));
}
So the provided answers are correct:
-13: false
24.3: false
3*8: true
‘5’: true
1
0
TestIsNaN
var testIsNaN = function() {
alert(document.getElementById(‘test’).value + ‘ is not a number: ‘ + isNaN(document.getElementById(‘test’).value));
}
0
0