<script type="text/javascript">
function Person(){ }
var person1 = new Person();
person1.name="digi";
person1.age=25;
eval("alert(person1.name+':'+person1.age);");
</script>
会弹出对话框
<!--EndFragment-->
<script type="text/javascript">
function Person(){ }
var person1 = new Person();
person1.name="digi";
person1.age=25;
eval("alert(person1.name+':'+person1.age);");
</script>
会弹出对话框
<!--EndFragment-->