# array.clear()

Removes all elements from an array.

```
array.clear( )
```

**Returns:** array

*This function does not take any arguments.*

# Examples

```cfml
array = ["one","two","THREE","three","four","five","Five"];
writeDump(array.clear());
writeDump(array.len());
```

# Categories

[Arrays](../../../categories/array.md)

# See Also

[ArrayClear()](../../functions/arrayclear.md), [Array](../array.md)