tc39 / proposal-optional-chaining

https://tc39.github.io/proposal-optional-chaining/
4.94k stars 75 forks source link

Shorter way to trigger indirect eval 🎉 #21

Closed claudepache closed 7 years ago

claudepache commented 7 years ago

With this proposal we have a new, shiny way to trigger indirect eval:

eval?.(foo)

This is a two-char gain over the traditional (0,eval)(foo) — a good occasion to make the spec logo even greater (by at least 2px).

claudepache commented 7 years ago

Depending on how #5 is resolved, we may end up with only a one-char gain. :-(

However, it is certain that we’ll have some gain anyway. Thus, this issue may be closed as positively resolved anyway.