Javascript cloning objects(thespanner.co.uk)
submitted by
crpietschmann(11.3k) 3 years, 10 months ago
When cloning a object in Javascript many of the examples I found used for(i in..) to traverse the properties and copy each of them. There is a nicer way to do this using the uneval function like this:-
|category: AJAX
|Views: 21
tags:
Clone JavaScript AJAX another
Everyones tags:
Your Tags: