With the ArcGIS Maps SDK for JavaScript, you can perform spatial analyses. Spatial analysis is the process of using analytical techniques to find relationships, discover patterns, and solve problems with geographic data. The goal of every analysis is to turn data into information. Most analyses involve using your data as input, executing one or more operations, and then visualizing the output data on a map. Geometry analysis is a client-side calculation performed on two or more geometries.
Introduction to spatial analysis
Introduction to spatial analysis.
Geoprocessor
Geoprocessor class.