istesequi
Version:
Lightweight and intuitive javascript library
34 lines (16 loc) • 378 B
Markdown
## .last()
Get the last element from a list of elements.
```js
.last();
```
### Parameters
This method doesn't accept any parameters
### Return
The last html node or false if there is none.
### Examples
Retrieve the last element of a list:
```js
var next = u("ul.demo li").last();
```
### Related
[.first()](#first) deletes class(es) from the matched elements.