Skip to content

Commit

Permalink
Use object shorthand for properties (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusU authored Jan 27, 2021
1 parent b9010ca commit 7e10101
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ function WeakmapEvent () {
listen.toArray = createArrayListener(listen)

return {
broadcast: broadcast,
listen: listen
broadcast,
listen
}

function broadcast (obj, value) {
Expand Down

0 comments on commit 7e10101

Please sign in to comment.