summaryrefslogtreecommitdiff
path: root/test/built-ins/Function/prototype/bind/15.3.4.5-15-1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Function/prototype/bind/15.3.4.5-15-1.js')
-rw-r--r--test/built-ins/Function/prototype/bind/15.3.4.5-15-1.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/built-ins/Function/prototype/bind/15.3.4.5-15-1.js b/test/built-ins/Function/prototype/bind/15.3.4.5-15-1.js
index ff341342e..e2ca7cfe8 100644
--- a/test/built-ins/Function/prototype/bind/15.3.4.5-15-1.js
+++ b/test/built-ins/Function/prototype/bind/15.3.4.5-15-1.js
@@ -6,11 +6,11 @@ es5id: 15.3.4.5-15-1
description: Function.prototype.bind, 'length' is a data valued own property
---*/
- function foo() { }
- var o = {};
-
- var bf = foo.bind(o);
- var desc = Object.getOwnPropertyDescriptor(bf, 'length');
+function foo() {}
+var o = {};
+
+var bf = foo.bind(o);
+var desc = Object.getOwnPropertyDescriptor(bf, 'length');
assert.sameValue(desc.hasOwnProperty('value'), true, 'desc.hasOwnProperty("value")');
assert.sameValue(desc.hasOwnProperty('get'), false, 'desc.hasOwnProperty("get")');