DEV Community

loading...

Discussion on: What's the worst code you have seen by a senior dev?

Collapse
pujansrt profile image
Pujan Srivastava

There is no problem in code.

data.isRequired = {}

if(data.isRequired) // passes

So 4year experienced author is not naive!