don't use Array.includes
This commit is contained in:
parent
3bebc3a7ca
commit
0200542e82
@ -71,7 +71,7 @@ export default class Binding {
|
||||
|
||||
reassign(path: Object) {
|
||||
this.constant = false;
|
||||
if (this.constantViolations.includes(path)) {
|
||||
if (this.constantViolations.indexOf(path) !== -1) {
|
||||
return;
|
||||
}
|
||||
this.constantViolations.push(path);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user