UNPKG
bs-ajv
Version:
latest (1.0.1)
1.1.0
1.0.1
1.0.0
BucklesScript bindings to Ajv (Another JSON Validator)
github.com/scull7/bs-ajv
scull7/bs-ajv
bs-ajv
/
node_modules.lol
/
object.getownpropertydescriptors
/
polyfill.js
8 lines
(5 loc)
•
227 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
'use strict'
;
var
implementation =
require
(
'./implementation'
);
module
.
exports
=
function
getPolyfill
(
) {
return
typeof
Object
.
getOwnPropertyDescriptors
===
'function'
?
Object
.
getOwnPropertyDescriptors
: implementation; };