(receiver: unknown, methodName: string)
| 540 | } |
| 541 | |
| 542 | function checkReceiver(receiver: unknown, methodName: string) { |
| 543 | if (!(receiver instanceof Segmenter)) { |
| 544 | throw TypeError( |
| 545 | `Method Intl.Segmenter.prototype.${methodName} called on incompatible receiver` |
| 546 | ) |
| 547 | } |
| 548 | } |
| 549 | |
| 550 | try { |
| 551 | // IE11 does not have Symbol |
no outgoing calls
no test coverage detected