$.strict-new.js 152 Bytes Raw Blame History Permalink 1 2 3 4 module.exports = function(it, Constructor, name){ if(!(it instanceof Constructor))throw TypeError(name + ": use the 'new' operator!"); return it; };