javascript
kavoy
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
program Structure
BINDINGS or variables keyword: let, var, const:BINDING NAMES: A binding name may include dollar signs ($) or underscores (_) but no other punctuation or special characters. ENVIRONMENT:...转载 2018-06-04 17:47:01 · 254 阅读 · 0 评论 -
object
1、javascript中一切都是对象.2、JavaScript中任意对象都有一个内置属性[__proto__]3、对象的[_proto__]属性指向其构造函数的[prototype]属性3、每一个函数在创建之后都会拥有一个名为[prototype]的属性,这个属性指向函数的原型对象。3、函数在创建后会有prototype属性,prototype也是一个对象。4、prototype对象中有属性co...原创 2018-06-08 19:17:57 · 189 阅读 · 0 评论 -
regx
1、创建正则对象let re1 = new RegExp("abc");let re2 = /abc/; 2、测试匹配console.log(/abc/.test("abcde"));// → trueconsole.log(/abc/.test("abxde"));// → false 3、字符类\d Any digit character\w An alphanumeric character...原创 2018-06-08 19:47:30 · 1043 阅读 · 0 评论
分享