3 ms·
If you want to eval anything anyone passes you with no consideration for what it could be, then I have to agree with OP that you must not be aware of the pitfal
by jessedhillon 16y ago
If you want to eval anything anyone passes you with no consideration for what it could be, then I have to agree with OP that you must not be aware of the pitfalls of using eval.
Consider that the "black" portion of that argument actually comes from user input and that you were passed instead:
black"); alert('This framework is awesome!
Try eval'ing that.