UNPKG

object.getprototypeof

Version:

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

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