Open TomOnTime opened 2 weeks ago
Not sure it would make as much sense as in raw JS as that's file based where as code here may not be.
It would help to know the line number.
If you ask go the line number that would be the calling reference not the line in the js code.
Have you tried options in native js such as detailed here?
That gets me closer. Thanks!
Oddball question but...
Is there an equiv of C's LINE in Otto?
For example, I'd like to call a function like foo(LINE, param1, param2, param3) so that foo can output an error like, "Function foo called improperly on line X".
Thanks!