# array.last()

Returns the last element of an array

```
array.last( )
```

**Returns:** any

*This function does not take any arguments.*

# Examples

```cfml
	myarray = ["one","two","three","TWO","five","Two"];
	res = myarray.last();
	writedump(res);
	myarray = [1,2,3];
	res = myarray.last();
	writedump(res);
```

# Categories

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

# See Also

[ArrayLast()](../../functions/arraylast.md), [Array](../array.md)