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