Closed nickva closed 1 month ago
This is basically just undefined variables:
% qjs
QuickJS - Type "\h" for help
qjs > x = y;
ReferenceError: 'y' is not defined
at <eval> (<evalScript>)
qjs >
% js
js> x = y;
typein:1: ReferenceError: y is not defined
% js91
js> x = y;
typein:1:1 ReferenceError: y is not defined
Stack:
@typein:1:1
It's the same idea as
SyntaxError
andTypeError
above.While at it improve the filter test to use individual ddocs for each error. This way one error or crash won't influence the others.