tc39 / proposal-pattern-matching

Pattern matching syntax for ECMAScript
https://tc39.es/proposal-pattern-matching/
MIT License
5.5k stars 89 forks source link

README and rendered spec are inconsistent about Symbol.matcher vs. Symbol.customMatcher #318

Closed gibson042 closed 7 months ago

gibson042 commented 7 months ago

(_originally posted by @gibson042 in https://github.com/tc39/proposal-pattern-matching/pull/293#discussion_r1311839210)

README.md mentions Symbol.customMatcher while the spec defines Symbol.matcher.

tabatkins commented 7 months ago

This is fixed in the spec PR (we're using customMatcher)