Ah so I've just noticed that you are saying that it is NOT failing.
Is it possible that test() function was called beforehand during your tests? I don't fully understand what is going on there but maybe that's where your a values are coming from. And b.a in that case would always be 0.
© Espruino, powered by microcosm.
Report a problem