On 11/16/14, Biju <bijumaill...@gmail.com> wrote:

[...]

>
> Proposal:
> I wish there was some syntax sugar like
>
> function someClickHandler(){
>     doStuff();
>     doAnotherStuff();
>     doYetAnotherStuff();
> } finally {
>    return false;
> }
>

function rf() {
  try {
    throw-an-error;
  } finally {
    return false;
  }
}

rf(); // false
-- 
Garrett
@xkit
ChordCycles.com
garretts.github.io
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to