+7
−1
Loading
Only the property "realm" was contained in the toString() JSON. This is because the other properties are realized via getters, so when used with a class, they are actually fields of the prototype object and are not considered by JSON.stringify In early versions, currentState was an object (and there was no class), so we didn't have this problem