We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f2510d commit a7eddf2Copy full SHA for a7eddf2
src/ParseObject.ts
@@ -102,7 +102,7 @@ type ToJSON<T> = {
102
103
// Mapping of class names to constructors, so we can populate objects from the
104
// server with appropriate subclasses of ParseObject
105
-const classMap: AttributeMap = {};
+const classMap: AttributeMap = Object.create(null);
106
107
// Global counter for generating unique Ids for non-single-instance objects
108
let objectCount = 0;
0 commit comments