Read the docs in the language you think in. Start typing in any script.
English: layerName · stdlib · javascript
layerName
Official documentation — MDN reference