SP.Taxonomy.Term.pinSourceTermSet property (sp.taxonomy)
Gets the TermSet object that contains the term to which this object is pinned.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.Taxonomy.Term.get_pinSourceTermSet()
Return value
SP.Taxonomy.TermSet