tc39 / proposal-ptc-syntax

Discussion and specification for an explicit syntactic opt-in for Tail Calls.
http://tc39.github.io/proposal-ptc-syntax/
169 stars 8 forks source link

Improve early error condition for direct eval #20

Open claudepache opened 8 years ago

claudepache commented 8 years ago

That will ban expressions like continue (((eval)))("foo")

The wording is strongly inspired from the one for the delete operator: https://tc39.github.io/ecma262/#sec-delete-operator-static-semantics-early-errors