Created
August 15, 2017 12:29
-
-
Save ntkog/0cbef2f1a243aefd021d5cf577605222 to your computer and use it in GitHub Desktop.
Ver de un plumazo un resumen de charlas tageadas por lenguajes de programación en la Agenda de Codemotion en Consola
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tags = Array.from([].slice.call(document.querySelectorAll('span[class*=tag-programming-language--]')) | |
.map((el)=>[].slice.call(el.classList) | |
.filter((className)=>/language--/.test(className))[0]).reduce((acc,cur)=>acc.add(cur), new Set())); | |
console.table(tags.map((tag) => ({ language : tag.split("--")[1] , total : document.querySelectorAll(`.${tag}`).length }))); |
Author
ntkog
commented
Aug 15, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment