source:
trip-planner-front/node_modules/core-js/internals/an-instance.js@
6a80231
Last change on this file since 6a80231 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 185 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 1 | module.exports = function (it, Constructor, name) { |
2 | if (!(it instanceof Constructor)) { | |
3 | throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation'); | |
4 | } return it; | |
5 | }; |
Note:
See TracBrowser
for help on using the repository browser.