You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VariableDeclarator.init will be null if this declarator isn't initialized. In particular, if the declarator hasn't been assigned by any value, the property init will be null. Thus, the pattern like const a will be failed.
We fix the issue by using ES6 optional chaining.
fix#11
0 commit comments