{infiniteZest}
// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
AJAX
Apple
ASP.NET
.NET
Git
Google / Android
Python / IronPython
Miscellaneous
SQL Server
AJAX Source Viewer
View the source code of a Method from ASP.NET AJAX Library. Choose a method from the menu items above (Namespaces, Classes, or Methods).
Method 'clone(array)'
Method: clone(array)
Method Full Name:     Array$clone(array)
Class: Array
Namespace: Global (MicrosoftAjax.debug.js)
Source File: MicrosoftAjax.debug.js
1   Array.clone = function Array$clone(array) {
2     /// <summary locid="M:J#Array.clone" />
3     /// <param name="array" type="Array" elementMayBeNull="true"></param>
4     /// <returns type="Array" elementMayBeNull="true"></returns>
5     var e = Function._validateParams(arguments, [
6     {name: "array", type: Array, elementMayBeNull: true}
7     ]);
8     if (e) throw e;
9     if (array.length === 1) {
10      return [array[0]];
11    }
12    else {
13      return Array.apply(null, array);
14    }
15  }
This is the JavaScript source for method clone(array) from ASP.NET AJAX Library. Full name for this method is Array$clone(array). It belongs to the class Array, which is in Global (MicrosoftAjax.debug.js) namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map