michael@0: function isnan(x) { return x !== x } michael@0: assertEq(isnan(deserialize(serialize(-'test'))), true);