SP.Web.webs Property
Applies to: SharePoint Foundation 2010
Gets a Web site collection object that represents all Web sites immediately beneath the Web site, excluding children of those Web sites.
var value = SP.Web.get_webs();
Property Value
Type: SP.WebCollection