Quel est le moyen le plus efficace de clone de profondeur un objet en JavaScript?
Assuming that you have only properties and not any functions in your object, you can just use:
var newObject = JSON.parse(JSON.stringify(oldObject));
shafeeque