You are viewing a single comment's thread from:

RE: Introducing the Coding Challenge

+1 for

Initially I returned it as an integer too, but returning mixed types is bad practice and in fact actually broke my tests, so I return it a as string now too.

and for having a test that breaks when this is not the case, tip! worthy :)

The || is a pretty clean way, I like that!

Your explanation on why you used the spread operator is glorious! Thank you for giving insight into why you used that :)

I would definitely read a blog post about it. But if you want to save your efforts for a harder challenge, a new one will come up pretty soon :)

Sort:  

Coin Marketplace

STEEM 0.09
TRX 0.30
JST 0.035
BTC 111135.68
ETH 3940.56
USDT 1.00
SBD 0.59