test
This commit is contained in:
19
adf/node_modules/set-function-length/env.js
generated
vendored
Normal file
19
adf/node_modules/set-function-length/env.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
'use strict';
|
||||
|
||||
var gOPD = require('gopd');
|
||||
|
||||
var functionsHaveConfigurableLengths = gOPD && gOPD(function () {}, 'length').configurable;
|
||||
|
||||
var functionsHaveWritableLengths = gOPD && gOPD(function () {}, 'length').writable;
|
||||
|
||||
var boundFnsHaveConfigurableLengths = gOPD && gOPD(function () {}.bind(), 'length').configurable;
|
||||
|
||||
var boundFnsHaveWritableLengths = gOPD && gOPD(function () {}.bind(), 'length').writable;
|
||||
|
||||
module.exports = {
|
||||
__proto__: null,
|
||||
boundFnsHaveConfigurableLengths: boundFnsHaveConfigurableLengths,
|
||||
boundFnsHaveWritableLengths: boundFnsHaveWritableLengths,
|
||||
functionsHaveConfigurableLengths: functionsHaveConfigurableLengths,
|
||||
functionsHaveWritableLengths: functionsHaveWritableLengths
|
||||
};
|
||||
Reference in New Issue
Block a user