ArcGIS API for JavaScript: Hosted/Buffer_of_Current_Location (FeatureServer)
Built using the ArcGIS API for JavaScript