案例:JavaScript案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<html>
2
<body>
3
4
<script type="text/javascript">
5
6
Function.prototype.toString = function() {
7
  return "Function code hidden";
8
}
9
10
function sayHi() {
11
  alert("hi");
12
}
13
14
document.write(sayHi.toString());
15
16
</script>
17
18
</body>
19
</html>
20