6 - https://www.ecma-international.org/ecma-262/6.0/#sec-symbol-objects
11 `Symbol` is not intended to be used with the `new` operator, but to be called as a function.
14 var foo = new Symbol("foo");
17 This throws a `TypeError` exception.
21 This rule is aimed at preventing the accidental calling of `Symbol` with the `new` operator.
25 Examples of **incorrect** code for this rule:
30 /*eslint no-new-symbol: "error"*/
33 var foo = new Symbol('foo');
38 Examples of **correct** code for this rule:
43 /*eslint no-new-symbol: "error"*/
46 var foo = Symbol('foo');
48 // Ignores shadowed Symbol.
49 function bar(Symbol) {
50 const baz = new Symbol("baz");
59 This rule should not be used in ES3/5 environments.