You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
707 B
JavaScript

'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
};