Skip to content

Commit

Permalink
Update S12.6.4_A7_T2.js
Browse files Browse the repository at this point in the history
This test currently has some tabs. Clean this up and make them spaces instead.
  • Loading branch information
kmiller68 authored and ptomato committed May 5, 2022
1 parent 00263bf commit b409843
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions test/language/statements/for-in/S12.6.4_A7_T2.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,23 @@ __obj.ca = 3;
__accum="";

for (var __key in __obj){

erasator_T_1000(__obj,"b");

__accum+=(__key+__obj[__key]);
__accum+=(__key+__obj[__key]);

}

assert(
__accum === "aa1ca3" || __accum === "ca3aa1",
"Unexpected value: '" + __accum + "'"
__accum === "aa1ca3" || __accum === "ca3aa1",
"Unexpected value: '" + __accum + "'"
);

// erasator is the hash map terminator
function erasator_T_1000(hash_map, charactr){
for (var key in hash_map){
if (key.indexOf(charactr)===0) {
delete hash_map[key];
};
}
for (var key in hash_map){
if (key.indexOf(charactr)===0) {
delete hash_map[key];
};
}
}

0 comments on commit b409843

Please sign in to comment.