Syntax Error Line Is Always 34
I've noticed that the error line number in JavaScript is always 34, unless the error is a runtime error. I assume this is the line where an error is thrown in some other script, and it could make debugging tricky for large files. I've tested it in a few cases, but not all of them, and the error line has always been 34. Hey, at least make it 42!
// my_file (javascript)
/* line 1 */ thisWillCauseASyntaxError\;
Invalid or unexpected token, in file "my_file" at line 34