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

Print this page

        

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