Raise error on duplicate definition of __proto__ (#183)

Spec: http://www.ecma-international.org/ecma-262/6.0/#sec-__proto__-property-names-in-object-initializers

This brings back to life a bit of dead code in Parser.prototype.checkPropClash, and enables several tests that were previously disabled.
This commit is contained in:
Moti Zilberman
2016-10-16 16:16:38 +03:00
committed by Daniel Tschinder
parent 7c18bf83cc
commit 9b6e243736
46 changed files with 1 additions and 1 deletions