<script language=javascript runat=server>
one = 1;
var1 = "one"; // in javascript you cannot use var as a variable
one = 1;
var1 = "one"; // in javascript you cannot use var as a variable
response.write (one); // will print 1
response.write (var1); // will print one
response.write (eval(var1)); // will print 1
</script>
response.write (var1); // will print one
response.write (eval(var1)); // will print 1
</script>
沒有留言:
張貼留言