main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
351 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | 'use strict';
|
---|
| 2 | var fails = require('../internals/fails');
|
---|
| 3 |
|
---|
| 4 | module.exports = !fails(function () {
|
---|
| 5 | // eslint-disable-next-line es/no-function-prototype-bind -- safe
|
---|
| 6 | var test = (function () { /* empty */ }).bind();
|
---|
| 7 | // eslint-disable-next-line no-prototype-builtins -- safe
|
---|
| 8 | return typeof test != 'function' || test.hasOwnProperty('prototype');
|
---|
| 9 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.