Browse Source

prefer forEach to for

v1
AJ ONeal 7 years ago
parent
commit
afd8b6fb90
  1. 4
      dns.types.js

4
dns.types.js

@ -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));

Loading…
Cancel
Save