source:
frontend/node_modules/core-js/internals/weak-map-basic-detection.js
| Last change on this file was 9af201e, checked in by , 11 days ago | |
|---|---|
|
|
| File size: 235 bytes | |
| Line | |
|---|---|
| 1 | 'use strict'; |
| 2 | var globalThis = require('../internals/global-this'); |
| 3 | var isCallable = require('../internals/is-callable'); |
| 4 | |
| 5 | var WeakMap = globalThis.WeakMap; |
| 6 | |
| 7 | module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); |
Note:
See TracBrowser
for help on using the repository browser.
