summaryrefslogtreecommitdiff
path: root/test/built-ins/Function/prototype/call/S15.3.4.4_A7_T4.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Function/prototype/call/S15.3.4.4_A7_T4.js')
-rw-r--r--test/built-ins/Function/prototype/call/S15.3.4.4_A7_T4.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/built-ins/Function/prototype/call/S15.3.4.4_A7_T4.js b/test/built-ins/Function/prototype/call/S15.3.4.4_A7_T4.js
index 7cec40c13..f3dee9603 100644
--- a/test/built-ins/Function/prototype/call/S15.3.4.4_A7_T4.js
+++ b/test/built-ins/Function/prototype/call/S15.3.4.4_A7_T4.js
@@ -8,7 +8,7 @@ description: Checking if creating "new (Function("this.p1=1").call)" fails
---*/
try {
- var obj = new(Function("this.p1=1").call);
+ var obj = new (Function("this.p1=1").call);
$ERROR('#1: Function.prototype.call can\'t be used as [[Construct]] caller');
} catch (e) {
if (!(e instanceof TypeError)) {