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

Print this page

        

@@ -33,11 +33,11 @@
 
 function tryIt (code) {
     try {
         eval(code)
     } catch (e) {
-        print(e)
+        print(String(e).replace(/\\/g, "/"))
     }
 }
 
 tryIt(<<CODE
     "use strict";