summaryrefslogtreecommitdiff
path: root/test/built-ins/decodeURIComponent/S15.1.3.2_A1.9_T2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/decodeURIComponent/S15.1.3.2_A1.9_T2.js')
-rw-r--r--test/built-ins/decodeURIComponent/S15.1.3.2_A1.9_T2.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/decodeURIComponent/S15.1.3.2_A1.9_T2.js b/test/built-ins/decodeURIComponent/S15.1.3.2_A1.9_T2.js
index 53fac3330..664cc07d3 100644
--- a/test/built-ins/decodeURIComponent/S15.1.3.2_A1.9_T2.js
+++ b/test/built-ins/decodeURIComponent/S15.1.3.2_A1.9_T2.js
@@ -11,14 +11,14 @@ description: >
"%"
---*/
-errorCount = 0;
-count = 0;
+var errorCount = 0;
+var count = 0;
var indexP;
var indexO = 0;
-for (index = 0xF0; index <= 0xF7; index++) {
+for (var index = 0xF0; index <= 0xF7; index++) {
count++;
- hex = decimalToHexString(index);
+ var hex = decimalToHexString(index);
try {
decodeURIComponent("%" + hex.substring(2) + "%A0111%A0");
} catch (e) {