SP.Publishing.Navigation.NavigationTermSetItem.id property (sp.publishing)
Gets the Id() property and Id property from the underlying taxonomy object.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.Publishing.Navigation.NavigationTermSetItem.get_id()