SP.ChangeView.webId property (sp.js)
Gets a value that identifies the site that contains the changed view.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.ChangeView.get_webId ()
Return value
Type: SP.Guid