code: function _getLanguageForMode(mode) {
          var language = _modeToLanguageMap[mode];
          if (language) {
              return language;
          }
  
          // In case of unsupported languages
          console.log("Called LanguageManager._getLanguageForMode with a mode for which no language has been registered:", mode);
          return _fallbackLanguage;
      }
docs: Resolves a CodeMirror mode to a Language object.
  @param {!string} mode CodeMirror mode
  @return {Language} The language for the provided mode or the fallback language