Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
citrus327 authored Jan 5, 2024
1 parent bc6f758 commit cb61493
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ function t1 () {
const result = match(flag, [
[Flag.Yes, () => "YES"],
[Flag.No, () => "NO"],
[_, () => undefined],
])
console.log(result === "YES") // true
}
Expand Down

0 comments on commit cb61493

Please sign in to comment.