SP.WorkflowServices.WorkflowSubscriptionCollection.item property (sp.workflowservices)
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.WorkflowServices.WorkflowSubscriptionCollection.get_item( index)