.. | ||
evalsg.js | ||
LICENSE | ||
README.md |
EvalStopGap
A remake of eval.
Sample (boilerplate) code
<!DOCTYPE html>
<html>
<head>
<title>Boilerplate code</title>
<script src="https://cdn.jsdelivr.net/gh/NodeMixaholic/EvalStopGap@main/evalsg.js"></script
</head>
<body>
<h1>Dialog box should appear if working...</h1>
<script>
let evilStr = 'alert("it works!")'
eval(evilStr)
</script>
</body>
</html>