zephyrer / executejs

Automatically exported from code.google.com/p/executejs
0 stars 0 forks source link

redeclaration error #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Execute JS 0.2.4

// JS-Code
// click Execute twice
// error redeclaration of const a
const a = 3;

// JS-Code
// click Execute
// error none
alert(a); // 3

// JS-Code
// click Execute
// error b is not defined (correct)
alert(b);

BTW,

typo in install.rdf

- <description>Excute JS</description>
+ <description>Execute JS</description>

Original issue reported on code.google.com by prajata...@gmail.com on 24 Apr 2011 at 4:44