提交 e694a0af 编写于 作者: J Jason Park

not assign names to arguments of executeData/executeDataAndCode functions

上级 c286e59d
var executeData = function (tracerManager, data) {
var executeData = function () {
try {
tracerManager.deallocateAll();
eval(data);
tracerManager.visualize();
arguments[0].deallocateAll();
eval(arguments[1]);
arguments[0].visualize();
} catch (err) {
return err;
} finally {
tracerManager.removeUnallocated();
arguments[0].removeUnallocated();
}
};
var executeDataAndCode = function (tracerManager, data, code) {
var executeDataAndCode = function () {
try {
tracerManager.deallocateAll();
eval(data);
eval(code);
tracerManager.visualize();
arguments[0].deallocateAll();
eval(arguments[1]);
eval(arguments[2]);
arguments[0].visualize();
} catch (err) {
return err;
} finally {
tracerManager.removeUnallocated();
arguments[0].removeUnallocated();
}
};
(function () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册