standard: use === over ==

This commit is contained in:
Daniel Cousens 2016-10-06 00:08:39 +11:00
parent a9d140a004
commit c53b825116
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ function entropyToMnemonic (entropy, wordlist) {
return wordlist[index]
})
return wordlist == JAPANESE_WORDLIST ? words.join('\u3000') : words.join(' ')
return wordlist === JAPANESE_WORDLIST ? words.join('\u3000') : words.join(' ')
}
function generateMnemonic (strength, rng, wordlist) {