HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/honger7.komma.pro/node_modules/es5-ext/test/error///////custom.js
"use strict";

module.exports = function (t, a) {
	var T = t, err = new T("My Error", "MY_ERROR", { errno: 123 });
	a(err instanceof Error, true, "Instance of error");
	a(err.constructor, Error, "Constructor");
	a(err.name, "Error", "Name");
	a(String(err), "Error: My Error", "String representation");
	a(err.code, "MY_ERROR", "Code");
	a(err.errno, 123, "Errno");
	a(typeof err.stack, "string", "Stack trace");
};