摘要: 今天下午继续在看书,学习,学习Javascriptw王者归来,同事给的 ,说这本书不是很好,在看第五章了,关于数据和类型的讲解。number类型: js 没有整形,浮点型之分,全是浮点型的。可以使用ToString(),string类型:array类型:怎样新建一个对象,new Object();null undefined typeof(NULL) 返回object typeof(undefined)是undefined类型自动转化 类型强制转化浮点数的方法floor();ceil();round(); tofixed(2); tofixed means 保留几位小数 阅读全文
posted @ 2013-03-26 17:11 kelly Yu 阅读(104) 评论(0) 推荐(0) 编辑