diff options
Diffstat (limited to 'test/built-ins/Function/prototype/S15.3.3.1_A1.js')
-rw-r--r-- | test/built-ins/Function/prototype/S15.3.3.1_A1.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/built-ins/Function/prototype/S15.3.3.1_A1.js b/test/built-ins/Function/prototype/S15.3.3.1_A1.js index af9795ab9..f06c15489 100644 --- a/test/built-ins/Function/prototype/S15.3.3.1_A1.js +++ b/test/built-ins/Function/prototype/S15.3.3.1_A1.js @@ -10,7 +10,9 @@ includes: [propertyHelper.js] var obj = Function.prototype; -verifyNotWritable(Function, "prototype", null, function(){return "shifted";}); +verifyNotWritable(Function, "prototype", null, function() { + return "shifted"; +}); //CHECK#1 if (Function.prototype !== obj) { @@ -19,9 +21,9 @@ if (Function.prototype !== obj) { //CHECK#2 try { - if(Function.prototype()!==undefined){ - $ERROR('#2: the Function.prototype property has the attributes ReadOnly'); + if (Function.prototype() !== undefined) { + $ERROR('#2: the Function.prototype property has the attributes ReadOnly'); } } catch (e) { - $ERROR('#2.1: the Function.prototype property has the attributes ReadOnly: '+e); + $ERROR('#2.1: the Function.prototype property has the attributes ReadOnly: ' + e); } |