8 kyu
isReallyNaN
4,436 of 4,755samjewell
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 | 6844 |
Total Skips | 147 |
Total Code Submissions | 23936 |
Total Times Completed | 4755 |
JavaScript Completions | 4436 |
TypeScript Completions | 413 |
CoffeeScript Completions | 41 |
Total Stars | 50 |
% of votes with a positive feedback rating | 90% of 1134 |
Total "Very Satisfied" Votes | 948 |
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 |