js: Use Object.create(null) for variable input cache

This should fix some potential problems when a variable has an ID like toString
This commit is contained in:
Thomas Weber committed 2020-08-30 12:48:28 -05:00
1 parent 1ffdc1a2a4
commit c4bb8fabba
1 file changed
+1 -1
+1 -1
View File
@@ -258,7 +258,7 @@ class Frame {
/**
* @type {Object.<string, VariableInput>}
*/
this.variables = {};
this.variables = Object.create(null);
}
}