DEV Community

Discussion on: What's the most fun you've ever had coding?

Collapse
 
pengeszikra profile image
Peter Vivo

When I meet Multi Line Task javascript kata in code.wars (and solved)

Description:
You need to write a function f that returns the string Hello, world!.

Requirement: Every line must have at most 1 character, and total number of lines must be less than 145

[
,
m
,
,
b
,
,
H
,
,
l
,
,
o
,
,
V
,
,
S
,
,
w
,
,
F
]
=
// .... + few more lines
Enter fullscreen mode Exit fullscreen mode