title: JS: getting error line number inside `new Function(...)`
body: <p>In my application I parse some user input and then run it as Javascipt code using <code>(new Function(...))()</code>. If the input is incorrect, this throws an exception. What I need is a way to get the line number where the exception happened in the parsed string that had been provided to <code>new Function()</code>. Is it possible?</p>