Error!
Success!

Javascript cloning objects

0
kicks

Javascript cloning objects  (Unpublished)

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:-


Kicked By:
Drop Kicked By: