toFunction
toFunction
by code json
JavaScript
String.prototype.toFunction=function(){return eval('('+this+')')};
var show = 'function (){alert("success");}'.toFunction();
show();
by code json
String.prototype.toFunction=function(){return eval('('+this+')')};
var show = 'function (){alert("success");}'.toFunction();
show();