summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/map/15.4.4.19-8-c-i-6.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/prototype/map/15.4.4.19-8-c-i-6.js')
-rw-r--r--test/built-ins/Array/prototype/map/15.4.4.19-8-c-i-6.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/test/built-ins/Array/prototype/map/15.4.4.19-8-c-i-6.js b/test/built-ins/Array/prototype/map/15.4.4.19-8-c-i-6.js
index c7970fc48..4c9ae7776 100644
--- a/test/built-ins/Array/prototype/map/15.4.4.19-8-c-i-6.js
+++ b/test/built-ins/Array/prototype/map/15.4.4.19-8-c-i-6.js
@@ -9,22 +9,22 @@ description: >
that overrides an inherited accessor property on an Array
---*/
- var kValue = "abc";
+var kValue = "abc";
- function callbackfn(val, idx, obj) {
- if (idx === 0) {
- return val === kValue;
- }
- return false;
- }
+function callbackfn(val, idx, obj) {
+ if (idx === 0) {
+ return val === kValue;
+ }
+ return false;
+}
- Object.defineProperty(Array.prototype, "0", {
- get: function () {
- return 9;
- },
- configurable: true
- });
+Object.defineProperty(Array.prototype, "0", {
+ get: function() {
+ return 9;
+ },
+ configurable: true
+});
- var testResult = [kValue].map(callbackfn);
+var testResult = [kValue].map(callbackfn);
assert.sameValue(testResult[0], true, 'testResult[0]');