Afanasev_Stepan_PIbd-21_IP/ИП 3 лаба/node_modules/set-function-length/env.js
[USERNAME] 0dd26716dc Lab2-5
2024-01-10 16:11:49 +04:00

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