> For the complete documentation index, see [llms.txt](https://discountry.gitbook.io/es6-for-react/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://discountry.gitbook.io/es6-for-react/statements-and-declarations/const.md).

# const

## Defination

> Constants are block-scoped, much like variables defined using the let statement. The value of a constant cannot change through re-assignment, and it can't be redeclared.

## Syntax

```javascript
const name1 = value1 [, name2 = value2 [, ... [, nameN = valueN]]];
```

## Examples

```javascript
const hello = 'hi'
```

## Usage

```jsx
const Title = <h1>Learn React</h1>
```

## References

* [MDN const](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const)
