---
title: goBack()
framework: webkit
role: symbol
role_heading: Instance Method
path: webkit/webbackforwardlist/goback()
---

# goBack()

Moves backward one item in the back-forward list.

## Declaration

```swift
func goBack()
```

## Discussion

Discussion This method works by changing the current item to the item that precedes it. This method raises an internalInconsistencyException exception if no item precedes the current item.

## See Also

### Moving Backward and Forward

- [goForward()](webkit/webbackforwardlist/goforward().md)
- [go(to:)](webkit/webbackforwardlist/go(to:).md)
