UNPKG

reflect.getprototypeof

Version:

An ES2015 mostly-spec-compliant `Reflect.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible

12 lines (8 loc) 212 B
'use strict'; var getPrototypeOf = require('../implementation'); var test = require('tape'); var runTests = require('./tests'); test('as a function', function (t) { runTests(getPrototypeOf, t); t.end(); });