SP.Taxonomy.TaxonomySession.termStores property (sp.taxonomy)
A collection of TermStore objects that are associated with the SPWebApplication object of the current SPSite object.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.Taxonomy.TaxonomySession.get_termStores()
Return value
SP.Taxonomy.TermStoreCollection