---
title: "API | ReScript"
metaTitle: "API"
description: "The ReScript API documentation"
canonical: "/docs/manual/api"
---
# Introduction
## Stdlib
[Stdlib](/docs/manual/api/stdlib) is ReScript's new builtin standard library.
It will cover just about you need for day-to-day programming in ReScript and covers most of the built in JavaScript API.
## Additional Libraries
ReScript ships with these two additional modules in its standard library:
- [Belt](/docs/manual/api/belt): immutable collections and extra helpers not available in JavaScript / [Stdlib](/docs/manual/api/stdlib).
- [Dom](/docs/manual/api/stdlibdom): Dom related types and modules. Contains our standardized types used by various userland DOM bindings.
---
title: "Array & List"
description: "Arrays and List data structures"
canonical: "/docs/manual/array-and-list"
section: "Language Features"
order: 12
---
# Array and List
## Array
Arrays are the main ordered data structure in ReScript. They can be randomly accessed, dynamically resized, and updated.
{React.string("Tag: " ++ params.tag /* params is fully typed! */)}
{React.string("Item: " ++ params.item)}
| Example | Description |
|---|---|
| ``` let myFun = (x, y) => { let doubleX = x + x let doubleY = y + y doubleX + doubleY } ``` | Function body with implicit return |
| ``` let result = { let x = 23 let y = 34 x + y } ``` | Block expression bound to a variable |