source:
frontend/node_modules/gopd/index.js
| Last change on this file was 9af201e, checked in by , 2 weeks ago | |
|---|---|
|
|
| File size: 206 bytes | |
| Rev | Line | |
|---|---|---|
| [9af201e] | 1 | 'use strict'; |
| 2 | ||
| 3 | /** @type {import('.')} */ | |
| 4 | var $gOPD = require('./gOPD'); | |
| 5 | ||
| 6 | if ($gOPD) { | |
| 7 | try { | |
| 8 | $gOPD([], 'length'); | |
| 9 | } catch (e) { | |
| 10 | // IE 8 has a broken gOPD | |
| 11 | $gOPD = null; | |
| 12 | } | |
| 13 | } | |
| 14 | ||
| 15 | module.exports = $gOPD; |
Note:
See TracBrowser
for help on using the repository browser.
