Y
Hacker News
new
|
ask
|
show
|
jobs
by
dalke
4541 days ago
It appears to have a limited JS validator to prevent you from using anything other than the limited operators it allows.
1 comments
sp332
4541 days ago
It really doesn't like having anything after "return" except a single value or variable.
link
dalke
4541 days ago
That's not it. For example, it accepts "return x|x&x;" . The restriction is that only a handful of Javascript operations are allowed. Anything else gives a hard-to-understand error message.
link