OVMS3/OVMS.V3/components/duktape/extras/duk-v1-compat/test_eval2.js

4 lines
159 B
JavaScript

// File to eval, throws error
print('Hello from test_eval2.js');
print(new Error('test error for traceback (shows filename)').stack);
throw new Error('aiee');