I can still circumvent your restrictions. That's OK with me; forcing JSFuck is not actually a good thing in my book.
( If you start freezing things to prevent this approach, it will trigger an endless war of attrition between "cheating" and anti-cheat, and it will change my vote another grade down. Please don't go there. )
Oh yeah, turns out chinese hierogliphs can be a variable name. Ok, I won't go any further.
I guess you found out that a lot of things can be identifier names in JS. :P
I can still circumvent your restrictions. That's OK with me; forcing JSFuck is not actually a good thing in my book.
( If you start freezing things to prevent this approach, it will trigger an endless war of attrition between "cheating" and anti-cheat, and it will change my vote another grade down. Please don't go there. )
done
should use
restricted
tagI further improved the global scope issue by using strict mode and thus not allowing variables to be declared implicitly.
Nevermind, managed to save and republish after closing all the issues
I excluded all symbols that are used in variable names:
_
,$
, now your solution should be invalidated.Wait, actually, when I tried to save it it shows an error "Default Version is not a supported version", what's that about?
Done
Done
I decided not to handle exceptions, either way it won't pass if it produces one.
Done
|| JSF*ck || has been done. This is not new.
You may want to prevent my solution ( which you can see by clicking
View Solution
under this comment ).eval
is evil!( or you may not want to prevent it. that's a reasonable option. )
Loading more items...