ArcGIS API for JavaScript: BranchVersionTest (FeatureServer)
Built using the ArcGIS API for JavaScript