The API Reference contains detailed descriptions for each class in the ArcGIS API for JavaScript. Use the API Reference to find constructor options as well as properties, methods and events for each class.
Classes in the API are organized in modules. There is a one-to-one relationship between classes and modules (one exception is the esri/arcgis/Portal module, refer to the preferred argument aliases table for others). Related modules, such as the modules in esri/layers or esri/symbols, are grouped into packages (also sometimes called folders). To find the reference page for a specific class, type all or part of its name in the box in the upper right.
If you are interested in writing your own custom classes and modules, refer to the Write a class and the Create a re-usable widget tutorials.