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