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
I am trying to analyze some code that declaring variables using 'const', like:
···
const str='hello world!';
console.log(str);
···
However, when I run the instrumented code, an ReferenceError exception is thrown, telling me the variable is not defined. When I inspect the code, the variable triggering the exception is declared by the reserved key 'const'. I notice there has already been a closed issue: #41
The issue is to support constant variables.
I want to know how to deal with this problem, except that I manually convert 'const' to var.
The text was updated successfully, but these errors were encountered:
I am trying to analyze some code that declaring variables using 'const', like:
···
const str='hello world!';
console.log(str);
···
However, when I run the instrumented code, an ReferenceError exception is thrown, telling me the variable is not defined. When I inspect the code, the variable triggering the exception is declared by the reserved key 'const'. I notice there has already been a closed issue:
#41
The issue is to support constant variables.
I want to know how to deal with this problem, except that I manually convert 'const' to var.
The text was updated successfully, but these errors were encountered: