prefer forEach to for

This commit is contained in:
AJ ONeal 2017-10-24 10:47:08 -06:00
父節點 3b65560818
當前提交 afd8b6fb90
共有 1 個檔案被更改,包括 2 行新增2 行删除

查看文件

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