extend ufuzz generator (#1783)
authorAlex Lam S.L <alexlamsl@gmail.com>
Fri, 7 Apr 2017 10:47:30 +0000 (18:47 +0800)
committerGitHub <noreply@github.com>
Fri, 7 Apr 2017 10:47:30 +0000 (18:47 +0800)
commita1532eb076d506fbf87a04c0ec4f26e1929aa902
tree77a0c257450c87b2f9852111ccf31aa84c3ba6b3
parentc2a1bceb773aab8875e0ffabf9f6b5199462f091
extend ufuzz generator (#1783)

- property access
- property assignment
- allow bare expression within try-block
- normalise `Error` in `console.log()`
- generate more unary expressions
- add parenthesis to enforce precedence
- adjust variable reuse/creation
- add parameters to function declaration & expression
- add return expression
- add trivial arguments to function call
test/sandbox.js
test/ufuzz.js
test/ufuzz.json