improve unsafe_Func (#2171)

- minimise disturbance to `compute_char_frequency()`
- remove extraneous quotation marks
This commit is contained in:
Alex Lam S.L
2017-06-27 23:53:42 +08:00
committed by GitHub
parent 1e4de2e6d3
commit f0a99125ee
2 changed files with 12 additions and 12 deletions

View File

@@ -265,7 +265,7 @@ issue_203: {
}
expect: {
var m = {};
var fn = Function("n", "o", "o.exports=42");
var fn = Function("n,o", "o.exports=42");
fn(null, m, m.exports);
console.log(m.exports);
}