src/github-components.js
/**
     * List of all the languages I like to dabble in!
     *
     * @param {*} projects My list of projects
     */
List of all the languages I like to dabble in.
@param {*} projects My list of projects
List of all the languages I like to dabble in . @param { * } projects My list of projects
_myLanguages(projects) {
      let languagesString = "";
      let langs = projects.map((prj) => prj["language"]);
      let l = [];
      for (let i = 0; i < langs.length; i++) {
        if (langs[i] && l.indexOf(langs[i]) == -1 && langs[i].length > 0) {
          l.push(langs[i]);
        }
      }
      languagesString = l.join(", ");
      return languagesString;
    }
_myLanguages ( projects ) { let languagesString = "" ; let langs = projects . map ( ( prj ) => prj [ "language" ] ) ; let l = [ ] ; for ( let i = 0 ; i < langs . length ; i ++ ) { if ( langs [ i ] && l . indexOf ( langs [ i ] ) == - 1 && langs [ i ] . length > 0 ) { l . push ( langs [ i ] ) ; } } languagesString = l . join ( ", " ) ; return languagesString ; }
List of all the languages I like to dabble in!
List of all the languages I like to dabble in!