This commit is contained in:
2026-03-24 17:54:45 +08:00
parent 4e139450ac
commit 9e57eee51d
591 changed files with 62396 additions and 376 deletions

17
backend/node_modules/object-inspect/test/global.js generated vendored Normal file
View File

@@ -0,0 +1,17 @@
'use strict';
var inspect = require('../');
var test = require('tape');
var globalThis = require('globalthis')();
test('global object', function (t) {
/* eslint-env browser */
var expected = typeof window === 'undefined' ? 'globalThis' : 'Window';
t.equal(
inspect([globalThis]),
'[ { [object ' + expected + '] } ]'
);
t.end();
});