摘要: 2.6 原始类型 ECMAScript有5种原始类型(primitive type),即Undefined、Null、Boolean、Number和String。ECMAScript提供了typeof来判断值的类型。1、typeof运算符:1 var sTemp="test string";2 alert(typeof sTemp);//outpus "string"3 alert(typeof 95);//outpus "number" typeof运算符返回值只有5种,分别为:如果变量是Undefined型返回"unde 阅读全文
posted @ 2011-11-17 10:34 artwl 阅读(575) 评论(1) 推荐(1) 编辑

个人简介

var ME = {
	"name": "土豆/Artwl",
	"job": "coding",
	"languages": [
		"JS", "HTML",
                "CSS", "jQuery"
		"MVC",".NET",
		"设计模式"
	],
	"hobby": [
		"阅读", "旅游",
		"音乐", "电影"
	]
}
TOP