SP.Publishing.Navigation.NavigationTermSetView.webId property (sp.publishing)
Gets the GUID identifier for the SP.Web object (sp.js) object that uses the navigation term set.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.Publishing.Navigation.NavigationTermSetView.get_webId()
Return value
The SP.Web.id property (sp.js) property.