My TechLife

Thursday, February 6, 2014

JQuery - Deep and Shallow copy
Shallow copy
var newObject = jQuery.extend({}, oldObject);
Deep copy
var newObject = jQuery.extend(true, {}, oldObject);
Posted by Sachin Nikam at 4:36 AM
Labels: Scripting - JQuery

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

My photo
Sachin Nikam
View my complete profile

Blog Archive

  • ►  2021 (4)
    • ►  August (4)
  • ►  2018 (3)
    • ►  July (1)
    • ►  June (1)
    • ►  May (1)
  • ►  2016 (15)
    • ►  December (1)
    • ►  November (2)
    • ►  February (1)
    • ►  January (11)
  • ►  2015 (11)
    • ►  August (1)
    • ►  July (6)
    • ►  June (4)
  • ▼  2014 (21)
    • ►  June (2)
    • ►  May (3)
    • ►  April (3)
    • ►  March (2)
    • ▼  February (8)
      • Sample Meeting Room Scheduler Design Meeting Obj...
      • 7 Things Smart Learners Do Differently They alw...
      • JQuery - Deep and Shallow copy Shallow copy
      • Best Practices - Phishing scams Never respond to...
      • For Java resources - 0 to 2 years Java Static ...
      • Unix - Effective use of Tail / Find / Grep / Sed...
      • Unix Commands for Junior Programmers Q.How to ch...
      • Java 7 javadoc css -You could change it as per yo...
    • ►  January (3)
  • ►  2013 (12)
    • ►  December (6)
    • ►  November (6)
  • ►  2008 (1)
    • ►  May (1)
Simple theme. Powered by Blogger.