UNPKG
get-proto
Version:
latest (1.0.1)
1.0.1
1.0.0
Robustly get the [[Prototype]] of an object
github.com/ljharb/get-proto
ljharb/get-proto
get-proto
/
Reflect.getPrototypeOf.js
5 lines
(3 loc)
•
150 B
JavaScript
View Raw
1
2
3
4
5
'use strict'
;
/**
@type
{
import('./Reflect.getPrototypeOf')
} */
module
.
exports
= (
typeof
Reflect
!==
'undefined'
&&
Reflect
.
getPrototypeOf
) ||
null
;