30 lines
584 B
HTML
Executable File
30 lines
584 B
HTML
Executable File
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
<title>SBMjs Basic24</title>
|
|
</head>
|
|
<body>
|
|
|
|
<a id ="x" href ="javascript:alert(1)"/>
|
|
<script>
|
|
var Enumerable = {
|
|
each: function(iterator, context) {
|
|
var index = 0;
|
|
iterator = iterator.bind(context);
|
|
try {
|
|
this._each(function(value) {
|
|
iterator(value, index++);
|
|
});
|
|
} catch (e) {
|
|
if (e != $break) throw e;
|
|
}
|
|
return this;
|
|
}
|
|
}
|
|
</script>
|
|
|
|
|
|
</body>
|
|
</html>
|