Skip to content

Commit

Permalink
Docs: Remove incorrect "constructor" statement from no-new-symbol d…
Browse files Browse the repository at this point in the history
…ocs (#6830)
  • Loading branch information
jrencz authored and vitorbal committed Aug 2, 2016
1 parent aef18b4 commit 117e7aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-new-symbol.md
@@ -1,6 +1,6 @@
# Disallow Symbol Constructor (no-new-symbol)

The `Symbol` constructor is not intended to be used with the `new` operator, but to be called as a function.
`Symbol` is not intended to be used with the `new` operator, but to be called as a function.

```js
var foo = new Symbol("foo");
Expand Down

0 comments on commit 117e7aa

Please sign in to comment.