(func)
| 4744 | } |
| 4745 | |
| 4746 | function isClass(func) { |
| 4747 | // IE 9-11 do not support classes and IE9 leaks with the code below. |
| 4748 | if (msie <= 11) { |
| 4749 | return false; |
| 4750 | } |
| 4751 | // Support: Edge 12-13 only |
| 4752 | // See: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/6156135/ |
| 4753 | return typeof func === 'function' |
| 4754 | && /^(?:class\b|constructor\()/.test(stringifyFn(func)); |
| 4755 | } |
| 4756 | |
| 4757 | function invoke(fn, self, locals, serviceName) { |
| 4758 | if (typeof locals === 'string') { |