Closed shidel-dev closed 1 year ago
I'll use this issue, I have a similar case where the json includes an error, but the errors getter returns empty
boxed = ce.parse('x=')
boxed.json // ["Equal","x",["Error","'missing'"]]
boxed.errors // []
Pro tip: JSON.stringify(evaluated.toJSON())
is equivalent to evaluated.toString()
.
In the following example I would expect the
errors
getter to not return an empty value