iching-broker-level2/node_modules/gopd/index.js
Christopher Hase b27a419c2f
All checks were successful
ci / build (push) Successful in 1m33s
add http-server part 5
2025-04-09 11:10:36 +02:00

15 lines
206 B
JavaScript

'use strict';
/** @type {import('.')} */
var $gOPD = require('./gOPD');
if ($gOPD) {
try {
$gOPD([], 'length');
} catch (e) {
// IE 8 has a broken gOPD
$gOPD = null;
}
}
module.exports = $gOPD;