more low-hanging fruits
This commit is contained in:
parent
4f82709bf2
commit
b2dca4a3f6
20 changed files with 45 additions and 45 deletions
|
|
@ -54,7 +54,7 @@ const run = () => {
|
|||
|
||||
// Sort by key
|
||||
const sorted = Object.keys(emojisObject)
|
||||
.sort()
|
||||
.sort((a, b) => a.localeCompare(b))
|
||||
.reduce((acc, key) => {
|
||||
if (key.length === 0) return acc
|
||||
acc[key] = emojisObject[key]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue