File: implement.js

package info (click to toggle)
node-es6-weak-map 2.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 144 kB
  • sloc: makefile: 2
file content (11 lines) | stat: -rw-r--r-- 222 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
"use strict";

if (!require("./is-implemented")()) {
	Object.defineProperty(require("es5-ext/global"), "WeakMap",
		{
			value: require("./polyfill"),
			configurable: true,
			enumerable: false,
			writable: true
		});
}