more indirect eval stuff
This commit is contained in:
parent
20a77d7937
commit
c287b81286
|
@ -88,11 +88,11 @@
|
||||||
|
|
||||||
EXPORTS['js-eval'] =
|
EXPORTS['js-eval'] =
|
||||||
makePrimitiveProcedure(
|
makePrimitiveProcedure(
|
||||||
'myalert',
|
'js-eval',
|
||||||
1,
|
1,
|
||||||
function(MACHINE) {
|
function(MACHINE) {
|
||||||
var elt = MACHINE.e[MACHINE.e.length - 1];
|
var elt = MACHINE.e[MACHINE.e.length - 1];
|
||||||
var obj = eval('(' + String(elt) + ')');
|
var obj = (0,eval)('(' + String(elt) + ')');
|
||||||
return obj;
|
return obj;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user