// 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 'prototype.startsWith(prefix)'
Method: prototype.startsWith(prefix)
Method Full Name:     String$startsWith(prefix)
Class: String
Namespace: Global (MicrosoftAjax.debug.js)
Source File: MicrosoftAjax.debug.js
1   String.prototype.startsWith = function String$startsWith(prefix) {
2     /// <summary locid="M:J#String.startsWith" />
3     /// <param name="prefix" type="String"></param>
4     /// <returns type="Boolean"></returns>
5     var e = Function._validateParams(arguments, [
6     {name: "prefix", type: String}
7     ]);
8     if (e) throw e;
9     return (this.substr(0, prefix.length) === prefix);
10  }
This is the JavaScript source for method prototype.startsWith(prefix) from ASP.NET AJAX Library. Full name for this method is String$startsWith(prefix). It belongs to the class String, 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