8 kyu
isReallyNaN
4,426 of 4,740samjewell
Description:
I've hit a few bugs in my Java/Type/Coffee-script code recently, and I've traced the problem back to the global isNaN
function I was using. I had expected it to be more discerning, but it's returning true for undefined
right now.
Write a function isReallyNaN
that returns true
only if passed in an argument that evalutes to NaN
, and returns false
otherwise.
Any solution is acceptable!
Fundamentals
Stats:
Created | Feb 15, 2016 |
Published | Mar 5, 2017 |
Warriors Trained | 6824 |
Total Skips | 147 |
Total Code Submissions | 23875 |
Total Times Completed | 4740 |
JavaScript Completions | 4426 |
TypeScript Completions | 408 |
CoffeeScript Completions | 41 |
Total Stars | 51 |
% of votes with a positive feedback rating | 90% of 1133 |
Total "Very Satisfied" Votes | 947 |
Total "Somewhat Satisfied" Votes | 149 |
Total "Not Satisfied" Votes | 37 |
Total Rank Assessments | 42 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 8 kyu |