source: imaps-frontend/node_modules/reflect.getprototypeof/polyfill.js

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

F4 Finalna Verzija

  • Property mode set to 100644
File size: 350 bytes
Line 
1'use strict';
2
3var implementation = require('./implementation');
4
5var getProto = require('get-proto');
6
7module.exports = function getPolyfill() {
8 if (typeof Reflect === 'object' && Reflect && Reflect.getPrototypeOf) {
9 return Reflect.getPrototypeOf;
10 }
11 return getProto
12 ? function getPrototypeOf(O) { return getProto(O); }
13 : implementation;
14};
Note: See TracBrowser for help on using the repository browser.