(1),字符串数字转整型,日期
function test_() {
var testNum = 1;
// 转换成整型
testNum = parseInt(testNum) + 3;
alert("转换成整型相加等于的值:"+ testNum);
var curDate = new Date();
var year_ = curDate.getFullYear();
var month_ = curDate.getMonth();
var date_ = curDate.getDate();
alert("年:"+ year_ + ":月:"+ month_ + ":日:"+ date_);
}