SP.Taxonomy.ChangedTerm.groupId property (sp.taxonomy)
Gets the SP.Taxonomy.TermGroup object (sp.taxonomy) object to which the SP.Taxonomy.Term object (sp.taxonomy) object belongs.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.Taxonomy.ChangedTerm.get_groupId()