source: imaps-frontend/node_modules/core-js/internals/an-instance.js@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 254 bytes
Line 
1'use strict';
2var isPrototypeOf = require('../internals/object-is-prototype-of');
3
4var $TypeError = TypeError;
5
6module.exports = function (it, Prototype) {
7 if (isPrototypeOf(Prototype, it)) return it;
8 throw new $TypeError('Incorrect invocation');
9};
Note: See TracBrowser for help on using the repository browser.