main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
308 bytes
|
Line | |
---|
1 | function _isNativeReflectConstruct() {
|
---|
2 | try {
|
---|
3 | var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
---|
4 | } catch (t) {}
|
---|
5 | return (_isNativeReflectConstruct = function _isNativeReflectConstruct() {
|
---|
6 | return !!t;
|
---|
7 | })();
|
---|
8 | }
|
---|
9 | export { _isNativeReflectConstruct as default }; |
---|
Note:
See
TracBrowser
for help on using the repository browser.