摘要:
var arr = new Array(5);arr[0] = "amy";arr[1] = "elice";arr[2] = "divi";arr[3] = "lvy";arr[4] = "marry";arr.splice(1, 2, "willian");console.log(arr);// 阅读全文
摘要:
React Native中的component跟Android中的activity,fragment等一样,存在生命周期,下面先给出component的生命周期图 getDefaultProps object getDefaultProps() 执行过一次后,被创建的类会有缓存,映射的值会存在thi 阅读全文