This repository has been archived on 2026-03-06. You can view files and clone it, but cannot push or open issues or pull requests.
todo/client/node_modules/core-js-pure/internals/weak-map-basic-detection.js

8 lines
235 B
JavaScript
Raw Permalink Normal View History

2025-06-13 06:04:40 +00:00
'use strict';
var globalThis = require('../internals/global-this');
var isCallable = require('../internals/is-callable');
var WeakMap = globalThis.WeakMap;
module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));