Server IP : 162.213.251.212 / Your IP : 18.117.11.25 [ 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 : /proc/self/root/proc/self/root/home/allssztx/www/easybuyer/node_modules/object-is/test/ |
Upload File : |
'use strict'; require('../auto'); var runTests = require('./tests'); var test = require('tape'); var defineProperties = require('define-properties'); var callBind = require('call-bind'); var isEnumerable = Object.prototype.propertyIsEnumerable; var functionsHaveNames = require('functions-have-names')(); test('shimmed', function (t) { t.equal(Object.is.length, 2, 'Object.is has a length of 2'); t.test('Function name', { skip: !functionsHaveNames }, function (st) { st.equal(Object.is.name, 'is', 'Object.is has name "is"'); st.end(); }); t.test('enumerability', { skip: !defineProperties.supportsDescriptors }, function (et) { et.equal(false, isEnumerable.call(Object, 'is'), 'Object.is is not enumerable'); et.end(); }); runTests(callBind(Object.is, Object), t); t.end(); });