prefer forEach to for

This commit is contained in:
AJ ONeal 2017-10-24 10:47:08 -06:00
parent 3b65560818
commit afd8b6fb90
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@ var types = exports.DNS_TYPES = {
};
// and in reverse
for (var key in types) {
Object.keys(types).forEach(function (key) {
types[types[key]] = key;
}
});
}('undefined' !== typeof window ? window : exports));