摘要:1.formart detection未检测出手机号 2.sms启动短信,但未在收信人内填充电话号码; 3.tel启动拨打电话,有号码,正常
阅读全文
摘要:new Object new Object() 构造函数
阅读全文
摘要:接受2个参数 第一个参数转换为boolean值为true,什么也不做 第一个参数转换为boolean值为false,assert打印第二个参数的返回值(基本为字符串)
阅读全文
摘要:就是利用css3中的column-width规定列的宽度
阅读全文
摘要:取得元素 dataset属性 DOMStringMap Object 包含驼峰变量转换(类似angularjs中的derective名称转换)
阅读全文
摘要:Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng
阅读全文
摘要:You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single
阅读全文
摘要:Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex
阅读全文
摘要:A A.30% B B.30% C C.30% D D...
阅读全文
摘要:块内函数声明 各引擎对于块内函数声明的实现都不一样,和 EcmaScript 的建议相违背。 ECMAScript 只允许在根脚本语句或其他函数中进行函数声明,如果一定要用的话可以在块内用变量来定义函数,防止函数申明提升 基本包装类型 方法定义 True 和 False 布尔表达式 以下的表达式都返
阅读全文
摘要:Javascript Closures Introduction The Resolution of Property Names on Objects Assignment of Values Reading of Values Identifier Resolution, Execution C
阅读全文
摘要:1.使用jquery框架简化ajax请求,懒的写XMLHttpRequest源生js 2.实现为二级Object,见city.json文件 HTML: city.json: 全国的city.json库需要完善,三级联动的“省-市-县”需要多添加一层循环,city.json也需要按照解构添加
阅读全文
摘要:当前页码前后显示 3 页,然后需要显示第一页和最后一页,未显示的页码用省略号表示。 当前页码为 1,那么显示 1 2 3 4 ... 110 下一页 当前页码为 2,那么显示 上一页 1 2 3 4 5 ... 110 下一页 当前页码为 3,那么显示 上一页 1 2 3 4 5 6 ... 110
阅读全文