03 2017 档案

摘要:Date类型有一些专门用于将日期格式化为字符串的方法: 1、toDateString()-以特定的于实现的格式显示星期几、年月日。 2、toTimeString()-以特定的于实现的格式显示时分秒和时区。 3、toLocaleDateString()-以特定于地区的格式显示星期几、年月日。 4、to 阅读全文
posted @ 2017-03-17 19:38 admin-NaN 阅读(2073) 评论(0) 推荐(0)
摘要:<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title></title> <style> body { font-family: "宋体",arial,helvetica,sans-serif; } table { bo 阅读全文
posted @ 2017-03-16 22:40 admin-NaN 阅读(200) 评论(0) 推荐(0)
摘要:<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title></title> <style> table{ width: 100%; font-size: 12px; margin: 0 auto; border: 1px 阅读全文
posted @ 2017-03-15 22:35 admin-NaN 阅读(440) 评论(0) 推荐(0)
摘要:1、 利用typeof检查数据类型 a、 typeof 变量名 b、 typeof (变量名) 2、 简单(基本、值)数据类型 .Number、String、Boolean .Underfined、Null(空值) 3、 复杂(引用)数据类型 .Object、Array、Date等 4、 数值类型的 阅读全文
posted @ 2017-03-14 18:48 admin-NaN 阅读(422) 评论(1) 推荐(0)