b3fe5a594d253ed857e76f4301ad3daafc75c8a3
[platform/framework/web/crosswalk-tizen.git] /
1 // Exports true if environment provides native `WeakMap` implementation,
2 // whatever that is.
3
4 'use strict';
5
6 module.exports = (function () {
7         if (typeof WeakMap === 'undefined') return false;
8         return (Object.prototype.toString.call(WeakMap.prototype) ===
9                         '[object WeakMap]');
10 }());