Syntax
errorobj.number
errorobj.number = number;
The number property contains the error number of the error.
This method is read/write, so you can assign an error number using this property.
<html>
<script language="JScript">
<!--
var myError = new Error(45,"A really big error!");
document.write(myError.number);
-->
</script>
</html>