// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
Google / Android
Python / IronPython
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 'insert(array, index, item)'
Method: insert(array, index, item)
Method Full Name:     Array$insert(array, index, item)
Class: Array
Namespace: Global (MicrosoftAjax.debug.js)
Source File: MicrosoftAjax.debug.js
1   Array.insert = function Array$insert(array, index, item) {
2     /// <summary locid="M:J#Array.insert" />
3     /// <param name="array" type="Array" elementMayBeNull="true"></param>
4     /// <param name="index" mayBeNull="true"></param>
5     /// <param name="item" mayBeNull="true"></param>
6     var e = Function._validateParams(arguments, [
7     {name: "array", type: Array, elementMayBeNull: true},
8     {name: "index", mayBeNull: true},
9     {name: "item", mayBeNull: true}
10    ]);
11    if (e) throw e;
12    array.splice(index, 0, item);
13  }
This is the JavaScript source for method insert(array, index, item) from ASP.NET AJAX Library. Full name for this method is Array$insert(array, index, item). 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