Retired
BlackListed (retired)
Description:
I'm trying to create this function but this annoying blacklist keeps triggering.
function blackListed(argument){
if (typeof argument == 'string'){
return Number(argument)
}
else
{
return String(argument)
}
}
And that didn't work, I got this response back: ERROR: Your code contains blacklisted characters: ( ) . ( )
Can you try to find a way to create a function that will convert strings to numbers and numbers to strings?
I've checked all the characters and these are getting filtered, and also I think there is a limit of 100 characters.
` ' " . ~ ( ) 0 1 2 3 4 5 6 7 8 9 /
Puzzles
Language Quirks
Pitfalls
Stats:
Created | Apr 13, 2022 |
Warriors Trained | 26 |
Total Skips | 0 |
Total Code Submissions | 243 |
Total Times Completed | 16 |
JavaScript Completions | 16 |
Total Stars | 0 |
% of votes with a positive feedback rating | 45% of 10 |
Total "Very Satisfied" Votes | 1 |
Total "Somewhat Satisfied" Votes | 7 |
Total "Not Satisfied" Votes | 2 |
Total Rank Assessments | 8 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 7 kyu |