test/script/basic/es6/const-redeclare.js

Print this page

        

@@ -32,7 +32,7 @@
 try {
     eval('"use strict";\n' +
          'const x = 2;\n' +
          'const x = 2;\n');
 } catch (e) {
-    print(e);
+    print(String(e).replace(/\\/g, "/"));
 }