| PASS: 1: new Function succeeded as expected |
| PASS: 1: new Function succeeded as expected |
| PASS: 2: new Function succeeded as expected |
| PASS: 3: new Function succeeded as expected |
| PASS: 4: new Function succeeded as expected |
| PASS: 5: new Function succeeded as expected |
| PASS: 6: new Function succeeded as expected |
| PASS: 7: new Function succeeded as expected |
| PASS: 8: new Function succeeded as expected |
| PASS: 9: new Function succeeded as expected |
| PASS: 10: new Function succeeded as expected |
| PASS: 100: new Function failed as expected. SyntaxError: Unexpected token '{'. Expected ')' to end a compound expression. |
| PASS: 100: new Function failed as expected. SyntaxError: Unexpected token '{'. Expected ')' to end a compound expression. |
| PASS: 101: new Function failed as expected. SyntaxError: Unexpected keyword 'function'. Expected ')' to end a compound expression. |
| PASS: 102: new Function failed as expected. SyntaxError: Unexpected keyword 'function'. Expected ')' to end a compound expression. |
| PASS: 103: new Function failed as expected. SyntaxError: Unexpected keyword 'function'. Expected ')' to end a compound expression. |
| PASS: 104: new Function failed as expected. SyntaxError: Unexpected token ';'. Expected ')' to end a compound expression. |
| PASS: 105: new Function failed as expected. SyntaxError: Unexpected token ';'. Expected ')' to end a compound expression. |
| PASS: 200: new Function failed as expected. SyntaxError: Unexpected token ','. Expected a parameter pattern or a ')' in parameter list. |
| PASS: 200: new Function failed as expected. SyntaxError: Unexpected token ','. Expected a parameter pattern or a ')' in parameter list. |
| PASS: 201: new Function failed as expected. SyntaxError: Unexpected token ','. Expected a parameter pattern or a ')' in parameter list. |
| PASS: 202: new Function failed as expected. SyntaxError: Unexpected token '.'. Expected a ')' or a ',' after a parameter declaration. |
| PASS: 203: new Function failed as expected. SyntaxError: Unexpected number '23'. Expected a parameter pattern or a ')' in parameter list. |
| PASS: 300: new Function succeeded as expected |
| PASS: 301: new Function succeeded as expected |
| PASS: 302: new Function succeeded as expected |
| PASS: 303: new Function succeeded as expected |
| PASS: 304: new Function succeeded as expected |
| PASS: 305: new Function succeeded as expected |
| PASS: 306: new Function succeeded as expected |