mirror of
https://github.com/tc39/test262.git
synced 2025-06-01 12:40:30 +02:00
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:
parent
00263bf90f
commit
b409843612
@ -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];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user