Array.prototype.clone()

Description:

Created a cloned object by itself.

Parameters:

  • N/A

Returned Value:

  • Cloned object.

Sample:

var array = ["Rynn Wang"];
var clonedArray = array.clone();
//Result: clonedArray = ["Rynn Wang"];

Last edited Aug 23, 2012 at 3:50 PM by rynnwang, version 3

Comments

No comments yet.