摘要: <body> <button>测试1</button> <button>测试2</button> <button>测试3</button> <!-- 需求: 点击某个按钮, 提示"点击的是第n个按钮" --> <script type="text/javascript"> var btns = do 阅读全文
posted @ 2018-06-09 21:57 EthanCheung 阅读(152) 评论(0) 推荐(0)
摘要: 原型(prototype) 显式原型与隐式原型 原型链 原型链_属性问题 instanceof 阅读全文
posted @ 2018-06-09 21:31 EthanCheung 阅读(175) 评论(0) 推荐(0)
摘要: <table> 标签定义 HTML 表格。 简单的 HTML 表格由 table 元素以及一个或多个 tr、th 或 td 元素组成。 tr 元素定义表格行,th 元素定义表头,td 元素定义表格单元。 更复杂的 HTML 表格也可能包括 caption、col、colgroup、thead、tfo 阅读全文
posted @ 2018-06-09 20:33 EthanCheung 阅读(134) 评论(0) 推荐(0)
摘要: git常用操作 // 本地新建仓库git init // 初始化本地仓库 git add README.md // 添加提交的文件 git commit -m "first commit" // 添加提交信息 git remote add origin git@github.com:xuan085/ 阅读全文
posted @ 2018-06-09 00:23 EthanCheung 阅读(114) 评论(0) 推荐(0)