+ 5
First of all, correction: it is -> isNaN() It is used to check whether the variable is not a number... Since, you have defined i as Double(...), it is a number. So i.isNaN() will return false.
22nd May 2019, 4:49 PM
Kartik
Kartik - avatar