PHP 7.4.33
Preview: index.js Size: 424 B
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/object.assign/test/index.js
'use strict';

var assign = require('../');
var test = require('tape');
var runTests = require('./tests');

test('as a function', function (t) {
	t.test('bad array/this value', function (st) {
		st['throws'](function () { assign(undefined); }, TypeError, 'undefined is not an object');
		st['throws'](function () { assign(null); }, TypeError, 'null is not an object');
		st.end();
	});

	runTests(assign, t);

	t.end();
});

Directory Contents

Dirs: 0 × Files: 6
Name Size Perms Modified Actions
603 B lrw-r--r-- 2025-03-28 11:04:36
Edit Download
424 B lrw-r--r-- 2025-03-28 11:04:36
Edit Download
1.82 KB lrw-r--r-- 2025-03-28 11:04:36
Edit Download
220 B lrw-r--r-- 2025-03-28 11:04:36
Edit Download
1.87 KB lrw-r--r-- 2025-03-28 11:04:36
Edit Download
7.67 KB lrw-r--r-- 2025-03-28 11:04:36
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).