摘要:
slice 方法 特性: arr.clice(start,end) The original array will not be modified. 不改变原来的数组 index end is not included. 不包含end下标指向的元素 start : Zero-based index 阅读全文
摘要:
手写全相等函数isEqual , 限制: ,[] 主要思路: 递归 // 判断obj是否为对象 function isObject(obj) { return (typeof obj 'object' && obj !== null); } //全相等函数 function isEqual(obj1 阅读全文