Closed rbuckton closed 5 months ago
A preview of this PR can be found at https://tc39.es/proposal-extractors/pr/12.
InvokeCustomMatcherOrThrow
step 6
- Let iteratorRecord be ? GetIterator(result, SYNC).
then BindingInitialization
- Let obj be ? InvokeCustomMatcherOrThrow(extractor, value, receiver).
- Let iteratorRecord be ? GetIterator(obj, sync).
looks like you called GetIterator twice or with the wrong object?
looks like you called GetIterator twice or with the wrong object?
Fixed, thanks!
Initial specification text for Extractors.
Fixes: #3
/cc: Pattern Matching champions for review.