> For the complete documentation index, see [llms.txt](https://ke-ren.gitbook.io/web-design/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ke-ren.gitbook.io/web-design/html-css-js/js-index/operator.md).

# Operator

## Unary plus (+)

### Common mistakes

```javascript
var a = 1,
var b = 2,
var c = a + b
```

output: 12

```
var a = 1,
var b = 2,
var c = Number(a) + Number(b)
```

output: 3
