| Index: src/v8natives.js
|
| ===================================================================
|
| --- src/v8natives.js (revision 757)
|
| +++ src/v8natives.js (working copy)
|
| @@ -106,8 +106,8 @@
|
| if (!IS_STRING(x)) return x;
|
|
|
| if (this !== %GlobalReceiver(global)) {
|
| - throw $EvalError('The "this" object passed to eval ' +
|
| - 'must be the global object from which eval originated');
|
| + throw new $EvalError('The "this" object passed to eval must ' +
|
| + 'be the global object from which eval originated');
|
| }
|
|
|
| var f = %CompileString(x, 0, true);
|
|
|