historical/EvalStopGap.git/README.md
2024-01-16 11:20:27 -06:00

377 B

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>