摘要: <!DOCTYPE HTML><html lang="en-US"><head> <meta charset="UTF-8"> <title>数值型</title></head><body> <script type="text/javascript"> var num = 1988; /* if(!isNaN(num)){ document.write("非数值型"); } */ if(num.constr 阅读全文
posted @ 2012-03-14 16:29 校长阿四 阅读(181) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE HTML><html lang="en-US"><head> <meta charset="UTF-8"> <title></title></head><body> <script type="text/javascript"> var boolA = true; var boolB = false; var boolC = new Boolean(true); var boolD = new Boolean 阅读全文
posted @ 2012-03-14 16:20 校长阿四 阅读(195) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE HTML><html lang="en-US"><head> <meta charset="UTF-8"> <title>字符串类型</title></head><body> <script type="text/javascript"> //<![DATA[/*字符串连接 ----------------------------------- var str = "Hello "; 阅读全文
posted @ 2012-03-14 15:57 校长阿四 阅读(170) 评论(0) 推荐(0) 编辑