第一種
<script language=javascript>
String
{
var r = this
if(r==null)return false; var d = new Date(r[
return (d
}
alert(
alert(
</script>
第二種
<script language=javascript>
String
{
var r = this
if(r==null)return false; var d = new Date(r[
return (d
}
alert(
alert(
alert(
</script>
判斷數字用 isNaN()
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/19637.html