pufuwozu/roy — Issue #112: support/document throw
Author: gregwebs
Created: 2012-02-21 16:15:47+00:00
State: open

`return throw` is invalid

``` javascript
a = function(){ throw("NOH!") }
function (){ throw("NOH!") }
b = function(){ return throw("NOH!") }
SyntaxError: Unexpected token throw
```

I fixed this with

``` javascript
throw msg
null
```

Simply documenting this for now would be good.