unify logging functionality (#3392)

fixes #3253
fixes #3254
This commit is contained in:
Alex Lam S.L
2019-04-30 06:32:24 +08:00
committed by GitHub
parent fba008e298
commit 2ea96549c5
13 changed files with 157 additions and 192 deletions

View File

@@ -4194,7 +4194,7 @@ may_throw_2: {
var a = x();
++b;
return b(a);
} catch(e) {}
} catch (e) {}
console.log(b);
}
f(0);
@@ -4204,7 +4204,7 @@ may_throw_2: {
try {
var a = x();
return (++b)(a);
} catch(e) {}
} catch (e) {}
console.log(b);
}
f(0);