summaryrefslogtreecommitdiff
path: root/test/built-ins/Function/prototype/call/S15.3.4.4_A1_T1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Function/prototype/call/S15.3.4.4_A1_T1.js')
-rw-r--r--test/built-ins/Function/prototype/call/S15.3.4.4_A1_T1.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/Function/prototype/call/S15.3.4.4_A1_T1.js b/test/built-ins/Function/prototype/call/S15.3.4.4_A1_T1.js
index 7d3f3dddb..993391795 100644
--- a/test/built-ins/Function/prototype/call/S15.3.4.4_A1_T1.js
+++ b/test/built-ins/Function/prototype/call/S15.3.4.4_A1_T1.js
@@ -12,11 +12,11 @@ description: >
property. Prototype of the object is Function()
---*/
-var proto = Function();
+var proto=Function();
-function FACTORY() {};
+function FACTORY(){};
-FACTORY.prototype = proto;
+FACTORY.prototype=proto;
var obj = new FACTORY;
@@ -31,6 +31,6 @@ try {
$ERROR('#2: If the object does not have a [[Call]] property, a TypeError exception is thrown');
} catch (e) {
if (!(e instanceof TypeError)) {
- $ERROR('#2.1: If the object does not have a [[Call]] property, a TypeError exception is thrown');
+ $ERROR('#2.1: If the object does not have a [[Call]] property, a TypeError exception is thrown');
}
}