Got stuck on a hard javascript challenge

I’m working to solve this hard challenge from codewars but I got stuck
The challenge is called 5 without numbers !! and it wants to:

Write a function that always returns 5

Sounds easy right? Just bear in mind that you can't use any of the following characters: 0123456789*+-/

Good luck :)

My code so far!

function unusualFive() {
  return 5;
}

The link to the challenge: https://www.codewars.com/kata/59441520102eaa25260000bf/train/javascript

This passes the codewars test:

function unusualFive() {
  return "aaaaa".length;
}
3 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.