| Conditions | 6 | 
| Total Lines | 18 | 
| Code Lines | 10 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | // BigBlueButton open source conferencing system - http://www.bigbluebutton.org/.  | 
            ||
| 26 | function getLocalizedString(key) { | 
            ||
| 27 |   var keyArr = key.split(".") | 
            ||
| 28 | var translated = I18n  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 29 | |||
| 30 |   keyArr.forEach(function(k) { | 
            ||
| 31 | translated = translated[k]  | 
            ||
| 32 | })  | 
            ||
| 33 | |||
| 34 |   if (translated == undefined) {  | 
            ||
| 35 | translated = I18nFallback  | 
            ||
| 36 | |||
| 37 |     keyArr.forEach(function(k) { | 
            ||
| 38 | translated = translated[k]  | 
            ||
| 39 | })  | 
            ||
| 40 | }  | 
            ||
| 41 | |||
| 42 | return translated  | 
            ||
| 43 | }  | 
            
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.