Update S12.6.4_A7_T2.js

This test currently has some tabs. Clean this up and make them spaces instead.
This commit is contained in:
Keith Miller 2022-05-04 16:54:28 -04:00 committed by Philip Chimento
parent 00263bf90f
commit b409843612

View File

@ -24,20 +24,20 @@ for (var __key in __obj){
erasator_T_1000(__obj,"b"); erasator_T_1000(__obj,"b");
__accum+=(__key+__obj[__key]); __accum+=(__key+__obj[__key]);
} }
assert( assert(
__accum === "aa1ca3" || __accum === "ca3aa1", __accum === "aa1ca3" || __accum === "ca3aa1",
"Unexpected value: '" + __accum + "'" "Unexpected value: '" + __accum + "'"
); );
// erasator is the hash map terminator // erasator is the hash map terminator
function erasator_T_1000(hash_map, charactr){ function erasator_T_1000(hash_map, charactr){
for (var key in hash_map){ for (var key in hash_map){
if (key.indexOf(charactr)===0) { if (key.indexOf(charactr)===0) {
delete hash_map[key]; delete hash_map[key];
}; };
} }
} }