fix: cannot reasign a const var

This commit is contained in:
Camilo Roca 2020-02-10 22:23:54 +01:00
parent d6975d60b1
commit 6dd86eb960
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class DFASerializer {
const s = states[i];
if(s.edges!==null) {
const n = s.edges.length;
for(const j=0;j<n;j++) {
for(let j=0;j<n;j++) {
const t = s.edges[j] || null;
if(t!==null && t.stateNumber !== 0x7FFFFFFF) {
buf = buf.concat(this.getStateString(s));