javascript - Why is this eval failing? -
javascript - Why is this eval failing? -
i'm getting desparate of bit of code not supposed do. after inserting lot of console.log, boiled downwards eval made variable undefined.
the relevant segment of code is:
console.log(str); console.log(typeof str); console.log(str.length); var ret = eval(str); console.log(ret); and output firebug-console is
[[["index.php?page=int_jobmodule&methode=page_editjob&ro=1&id=20121218baasbw03","20121218baasbw03","dauervorgang plumperquatsch4711x"]]] string 135 undefined so, clearly, eval has done - can't figure out what's wrong there.
javascript eval
Comments
Post a Comment