I'm attempting to create a function over multiple lines.
Parameters of the challenge:
- Function returns 'barbarian'
- Only 2 characters per line
- 40 lines maximum. I keep trying to use a fat arrow to declare my function, but fat arrows don't seem to work if you don't have them connected.
Source of Challenge: https://www.codewars.com/kata/multi-line-task-plus-plus-hello-world
My current work:
f=
(
)=>
'\
b\
a\
r\
b\
a\
r\
i\
a\
n\
s\
'
This works, but the ')=>' is 3 characters long. I really just want to know how it is possible to even stretch out the creation of a function. I can't find any info on it anywhere as it's obviously not very practical.