fix: cannot reasign a const var
This commit is contained in:
parent
d6975d60b1
commit
6dd86eb960
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue