mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 13:04:30 -08:00
fix example
This commit is contained in:
@@ -9,7 +9,7 @@ async function getPopularLanguages() {
|
||||
.filter(l => l != null)
|
||||
.countBy()
|
||||
.toPairs()
|
||||
.sortBy(([lang, useCount]) => useCount)
|
||||
.orderBy(([lang, useCount]) => useCount, 'desc')
|
||||
.map(([lang]) => lang)
|
||||
.value()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user