摘要:
1、对象的拓展 ①Object.create(obj, {age:{value:18, writable:true, configurable:true, enumerable:true}); 以指定对象为原型创建新的对象 ②Object.defineProperties(obj, fullname 阅读全文
摘要:
1、$.each() jquery中的方法 遍历数组$.each(arr, function(index, value){ console.log(value); }) 1 遍历数组 2 $.each(obj, function(key, value){ 3 console.log(key, val 阅读全文