bfb579fecd6d726158809c508cc6e99eef3bca24
[platform/framework/web/crosswalk-tizen.git] /
1 'use strict';
2
3 var isWeakMap = require('./is-weak-map');
4
5 module.exports = function (x) {
6         if (!isWeakMap(x)) throw new TypeError(x + " is not a WeakMap");
7         return x;
8 };