Server IP : 162.213.251.212 / Your IP : 18.225.255.226 [ Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : allssztx ( 535) PHP Version : 8.1.31 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/allssztx/www/easybuyer/node_modules/define-property/ |
Upload File : |
/*! * define-property <https://github.com/jonschlinkert/define-property> * * Copyright (c) 2015-2018, Jon Schlinkert. * Released under the MIT License. */ 'use strict'; var isobject = require('isobject'); var isDescriptor = require('is-descriptor'); var define = (typeof Reflect !== 'undefined' && Reflect.defineProperty) ? Reflect.defineProperty : Object.defineProperty; module.exports = function defineProperty(obj, key, val) { if (!isobject(obj) && typeof obj !== 'function' && !Array.isArray(obj)) { throw new TypeError('expected an object, function, or array'); } if (typeof key !== 'string') { throw new TypeError('expected "key" to be a string'); } if (isDescriptor(val)) { define(obj, key, val); return obj; } define(obj, key, { configurable: true, enumerable: false, writable: true, value: val }); return obj; };