From 9455112d7469a9e7ae4850a21904adfaefdbfee4 Mon Sep 17 00:00:00 2001 From: Eric Rosenbaum Date: Thu, 7 Mar 2019 17:00:40 -0500 Subject: [PATCH] improve variable name --- src/extensions/scratch3_text2speech/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extensions/scratch3_text2speech/index.js b/src/extensions/scratch3_text2speech/index.js index ef3374114..896e304bd 100644 --- a/src/extensions/scratch3_text2speech/index.js +++ b/src/extensions/scratch3_text2speech/index.js @@ -541,8 +541,8 @@ class Scratch3Text2SpeechBlocks { * @returns {Array} An array of locale strings. */ _getSupportedLocales () { - return Object.keys(this.LANGUAGE_INFO).reduce((acc, cur) => - acc.concat(this.LANGUAGE_INFO[cur].locales), []); + return Object.keys(this.LANGUAGE_INFO).reduce((acc, lang) => + acc.concat(this.LANGUAGE_INFO[lang].locales), []); } /**