UNPKG

compound-ex4

Version:

Compound-ex4 - MVC framework for NodeJS (ExpressJs 4 version), fork compoundjs(https://github.com/1602/compound)

15 lines (12 loc) 394 B
'use strict'; module.exports = function () { var map; if (typeof WeakMap !== 'function') return false; map = new WeakMap(); if (typeof map.set !== 'function') return false; if (map.set({}, 1) !== map) return false; if (typeof map.clear !== 'function') return false; if (typeof map.delete !== 'function') return false; if (typeof map.has !== 'function') return false; return true; };