摘要:
The slice() method selects the elements starting at the given start argument, and ends at, but does not include, the given end argument.1. Array.prototype.removeAt = function (index) { var part1 = this.slice(0, index); var part2 = this.slice(index + 1); return part1.concat(part2);}var a = [10, 11,12 阅读全文
posted @ 2012-08-16 15:08
webglcn
阅读(179)
评论(0)
推荐(0)
摘要:
Refer to http://stackoverflow.com/questions/122102/what-is-the-most-efficient-way-to-clone-a-javascript-object// Shallow copyvar newObject = jQuery.extend({}, oldObject);// Deep copyvar newObject = jQuery.extend(true,{}, oldObject); 阅读全文
posted @ 2012-08-16 13:36
webglcn
阅读(256)
评论(0)
推荐(1)
摘要:
C:\Documents and Settings\<user account>\Local Settings\Application Data\Microsoft\Outlook 阅读全文
posted @ 2012-08-16 09:05
webglcn
阅读(132)
评论(0)
推荐(0)
浙公网安备 33010602011771号