| 12:58 | <Jack Works> | I've posted the slides for Extractors in case anyone has feedback: https://1drv.ms/p/s!AjgWTO11Fk-Tkr0Z2sm9bVmO_agqpA?e=7TdVup you can copy Function.prototype [ %Symbol.customMatcher% ] to extractor proposal maybe https://tc39.es/proposal-pattern-matching/#sec-function.prototype-%symbol.custommatcher% |
| 15:53 | <rbuckton> | That won't be very useful for the extractors proposal because binding/assignment patterns need an iterable result |
| 15:56 | <Jack Works> | with this, you can write a normal function and call it in the example without implement it as { [Symbol.customMatcher]: ... } |
| 17:59 | <rbuckton> | Perhaps, but I'm trying to illustrate the API itself. Besides, that will be covered in the pattern matching slides |