8 kyu
Simple Comparison?
6,844Peter Rhodes
Description:
Write a function that will compare two values, one will be a number and one will be a string. Return true
if they are the same character (regardless of their different data types) and return false
if they are not.
To make this challange harder and to promp the challenger to read up about coercion I have disabled some of the built in methods including .toString()
, .join()
, .split()
, parseInt
and .Number()
.
Fundamentals
Strings
Similar Kata:
Stats:
Created | Oct 7, 2016 |
Published | Oct 7, 2016 |
Warriors Trained | 8168 |
Total Skips | 125 |
Total Code Submissions | 11600 |
Total Times Completed | 6844 |
JavaScript Completions | 6844 |
Total Stars | 42 |
% of votes with a positive feedback rating | 91% of 1377 |
Total "Very Satisfied" Votes | 1165 |
Total "Somewhat Satisfied" Votes | 171 |
Total "Not Satisfied" Votes | 41 |
Total Rank Assessments | 10 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 7 kyu |
Lowest Assessed Rank | 8 kyu |