Reference

XCODX

Reference

Precise, runnable documentation for the language and platform features you use every day.

A reference page has one job: tell you exactly what a feature does and how to use it correctly, in as little time as possible. Every page here follows the same shape — a plain-language definition, the exact syntax, a table of parameters and return values, the mistakes people actually make, and live examples you can edit and run without leaving the page.

That last part is what sets these pages apart from a static spec. Instead of reading what map() or reduce() returns, you run it, change the input, and watch the output update — the fastest way to build a real mental model. Everything runs in the online editor; there is nothing to install and nothing to configure.

Browse a language below, or jump straight to a page from search. Each language's reference is organised into clusters (arrays, strings, and so on) so related pages stay linked and easy to explore.

Frequently asked questions

What is the XCODX reference?
A growing set of focused documentation pages for programming-language and platform features — one page per method, property or concept. Each gives the syntax, parameters, return value, common pitfalls and runnable examples.
Are the examples actually runnable?
Yes. Every example runs live in the embedded editor — edit the code and see the output change. You can also open any snippet in the full online editor or the language's online compiler.
How is this different from MDN or the official docs?
The facts are the same and verified against authoritative sources, but each page is written to be read quickly and — crucially — every example is interactive, so you learn by running code rather than only reading it.
Which languages are covered?
Coverage is expanding cluster by cluster. JavaScript is the most complete today; more languages are added continuously, each held to the same standard.