Thanks to visit codestin.com
Credit goes to developers.arcgis.com
Draw a polygon to be used as input to the geometryService's areasAndLengths() operation.
Area:
Length: