DEV Community

Discussion on: Daily Challenge #179 - Hide Phone Numbers

Collapse
 
exts profile image
Lamonte

This only works if you're expecting a certain value. Output would be weird otherwise.

Collapse
 
epranka profile image
Edvinas Pranka

Yeah, but the data validation is not required in this challange.

Thread Thread
 
georgewl profile image
George WL • Edited

True, but it does expect the tests to all pass still, which they won't with that solution