xD
what the heck is this? :D
Kind of sad that an invalid solution is top voted. smh.
No...
Probably because test cases uses 'Function.toString()' and there's some error in the test regex:
function anarchy() {} anarchy.toString() "function anarchy() {}"
var anarchy = function () {} anarchy.toString() "function () {}"
FUCK THE POLICE!
Wow. Simply wow.
Invalid solution!
Clever, but slow.
Invalid solution.
Greetings, what do you suggest instead of indexOf? EDIT: never mind, found out about 'in'.
Yes, you use Regex... but url.indexOf is evil. Not so good, but clever :)
url.indexOf
wrong man!!
Why not === ?
===
Loading collection data...
xD
xD
what the heck is this? :D
Kind of sad that an invalid solution is top voted. smh.
No...
Probably because test cases uses 'Function.toString()' and there's some error in the test regex:
FUCK THE POLICE!
Wow.
Simply wow.
Invalid solution!
Clever, but slow.
Invalid solution.
Greetings, what do you suggest instead of indexOf?
EDIT: never mind, found out about 'in'.
Yes, you use Regex... but
url.indexOf
is evil.Not so good, but clever :)
wrong man!!
Why not
===
?