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:
1 file changed
+1
-1
@@ -258,7 +258,7 @@ class Frame {
|
||||
/**
|
||||
* @type {Object.<string, VariableInput>}
|
||||
*/
|
||||
this.variables = {};
|
||||
this.variables = Object.create(null);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user