ArcGIS JavaScript API: adot/CurrentFuncClass (MapServer)
Built using the
ArcGIS API for JavaScript