improve variable name

This commit is contained in:
Eric Rosenbaum 2019-03-07 17:00:40 -05:00
parent 423622daaa
commit 9455112d74

View file

@ -541,8 +541,8 @@ class Scratch3Text2SpeechBlocks {
* @returns {Array} An array of locale strings. * @returns {Array} An array of locale strings.
*/ */
_getSupportedLocales () { _getSupportedLocales () {
return Object.keys(this.LANGUAGE_INFO).reduce((acc, cur) => return Object.keys(this.LANGUAGE_INFO).reduce((acc, lang) =>
acc.concat(this.LANGUAGE_INFO[cur].locales), []); acc.concat(this.LANGUAGE_INFO[lang].locales), []);
} }
/** /**