math 属性
1:math.ramdon()[0,1)的随机数
2:math.ceil().向上取整
3:math.floor()向下取整
4:math.abs().求绝对值
5:math.round()四合五入(-1.5是-1大)
6:math.mix(1,234,5,5)最大值
7:math.min()最小值
date()属性
var oppo=new date()
oppo.getdate(2012,5,20,10,0,0);当前时间
oppo.getFullyear().年数
oppo.getYear()年数、千年虫
oppo.getMonth() 一般加一的;
oppo.getDay().星期数(0-6);0为星期天
oppo.getSeconds()
oppo.getMinutes()