Error.number : Error : MS JScript JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » MS JScript » Error »

 

Error.number










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>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo MS JScript
» Error