re: Daily Challenge #89 - Extract domain name from URL VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Jesus, NO! This is what's wrong with development today. This is equivalent to killing a fly with a Sherman tank. Please, please, for the love of G...
 

Your comment is what's wrong with development today. Taking the shortest solution that seems to somehow solve the vague requirements and declaring it solved and secure.
Each of the JS solutions will fail for one of these test URLs: 'a.b.c.ac.il/', 'news.com.au/', 'youtube.com'.
Except for mine.

code of conduct - report abuse