---
date: 2020-11-11
id: 52bd8a6a-0d4c-4860-b015-333e7f1b7e34
title: JavaScript ReferenceError
---

``` javascript
'use strict';
console.log(notValidVar); // ReferenceError: notValidVar is not defined
```
