Created
May 22, 2020 13:34
-
-
Save MattieBelt/cc2285edd70ae8c491e6db21999f8b60 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const es = require('./es'); | |
const en = require('./en'); | |
const newKeys = Object.keys(en).filter(x => !Object.keys(es).includes(x)); | |
newKeys.forEach(key => { | |
es[key] = en[key]; | |
}); | |
console.log(es); | |
console.log(`Total new keys: ${newKeys.length}`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment