PageRenderTime 23ms CodeModel.GetById 15ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/node_modules/babel-polyfill/node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js

https://bitbucket.org/worklabschd/bingle_customer2
JavaScript | 9 lines | 7 code | 1 blank | 1 comment | 0 complexity | 7f59fface79fe09c2b5ce6b79d60c945 MD5 | raw file
1// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
2var toIObject = require('./_to-iobject');
3var $getOwnPropertyDescriptor = require('./_object-gopd').f;
4
5require('./_object-sap')('getOwnPropertyDescriptor', function () {
6  return function getOwnPropertyDescriptor(it, key) {
7    return $getOwnPropertyDescriptor(toIObject(it), key);
8  };
9});