DEV Community

Discussion on: JavaScript can do that?

Collapse
 
stephangalea profile image
Stephan Galea

These are all fun and games. Until someone asks them in a test during an interview or a programming test and you are one that never met such things because you have enough logic to never end up with such code :p

Collapse
 
nssimeonov profile image
Templar++

And if someone asks you anything like this during an interview, the only valid reply is that you're sane enough not to use it. Then stand up and walk out of... correction - run away as fast as possible.

Collapse
 
yashints profile image
Yaser Adel Mehraban

If I ever got asked one of these in an interview, I'd question the company's approach to attract candidates. And it probably isn't a good place to work either 🧐